Skip to content

add: adapt the Agent Controller client to the updated agent response - #1149

Merged
greenbonebot merged 1 commit into
mainfrom
add/support-updated-agent-config-format
Oct 19, 2026
Merged

greenbonebot merged 1 commit into
mainfrom
add/support-updated-agent-config-format

Conversation

@ozgen

@ozgen ozgen commented Oct 19, 2026

Copy link
Copy Markdown
Member

What

  • Add support for the new Agent Controller response format.
  • Support structured scheduler cron entries with cron and max_delay_seconds.
  • Add os_cpe and os_status to agent information.
  • Update parsing, serialization, memory management, and unit tests.

Why

The Agent Controller response format has changed. These updates are required to correctly handle the new fields and scheduler configuration.

References

GEA-1955

Checklist

  • I have added tests for the changes
  • I have used the following LLMs/AI tools in this pull request: GPT-6 helped generate and review the tests.

and configuration format.

- Add os_cpe and os_status fields to the agent structure.
- Support scheduler cron entries with cron expressions and
  max_delay_seconds.
- Update configuration parsing and JSON serialization.
- Implement deep copying and memory cleanup for cron entries.
- Update unit tests to cover the new data format.
@ozgen
ozgen requested review from a team as code owners October 19, 2026 14:12
@greenbonebot
greenbonebot enabled auto-merge (rebase) October 19, 2026 14:12
@github-actions

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Snapshot Warnings

⚠️: No snapshots were found for the head SHA c6bdecc.
Ensure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice.

Scanned Files

None

@greenbonebot
greenbonebot merged commit 67181c3 into main Oct 19, 2026
22 checks passed
@greenbonebot
greenbonebot deleted the add/support-updated-agent-config-format branch October 19, 2026 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants