Skip to content

SCA: Implement Timeout and Scheduling Logic #689

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
3 tasks done
TomasTurina opened this issue Mar 20, 2025 · 1 comment · Fixed by #761
Closed
3 tasks done

SCA: Implement Timeout and Scheduling Logic #689

TomasTurina opened this issue Mar 20, 2025 · 1 comment · Fixed by #761
Assignees
Labels
level/task Task issue module/sca Security Compliance Assessment type/enhancement Enhancement issue

Comments

@TomasTurina
Copy link
Member

TomasTurina commented Mar 20, 2025

Description

This task involves implementing support for the scan_on_start and interval settings, applying timeouts to scans, and ensuring graceful stopping behavior. The scheduling logic must be efficient and allow configurable scan intervals.

Tasks

  1. Research & Design

    • Define scheduling mechanism and timeout rules.
    • Establish logic for scan_on_start behavior.
  2. Development

    • Implement interval-based scheduling.
    • Apply timeouts for scans and individual checks.
    • Ensure proper handling of scan interruptions.
  3. Unit Testing

    • Validate scheduled scan execution.
    • Ensure correct application of timeouts and graceful stops.
  4. Documentation

    • Document scheduling configuration and timeout rules.
    • Provide examples of scan execution scenarios.

Definition of Done

  • Scheduling mechanism and timeout logic are implemented.
  • Unit tests validate scan scheduling and interruption handling.
  • Documentation is complete and reviewed.
@TomasTurina TomasTurina added level/task Task issue module/sca Security Compliance Assessment type/enhancement Enhancement issue labels Mar 20, 2025
@wazuhci wazuhci moved this to Triage in XDR+SIEM/Release 6.0.0 Mar 21, 2025
@wazuhci wazuhci moved this from Triage to Backlog in XDR+SIEM/Release 6.0.0 Mar 21, 2025
@TomasTurina TomasTurina assigned jr0me and TomasTurina and unassigned jr0me Apr 21, 2025
@wazuhci wazuhci moved this from Backlog to In progress in XDR+SIEM/Release 6.0.0 Apr 24, 2025
@sdvendramini
Copy link
Member

sdvendramini commented Apr 29, 2025

2025/04/28

I started working on the issue, adding the logic to use the class variables that define the scan interval and the execution of a scan at startup.

2025/04/29

I continued with the development, ran some tests, but I'm having trouble applying the rebase correctly and compiling successfully. It might be an issue with the compiler version and recently introduced changes.

2025/04/30

Final adjustments and testing were completed to close the issue.

@TomasTurina TomasTurina linked a pull request Apr 29, 2025 that will close this issue
8 tasks
@sdvendramini sdvendramini linked a pull request Apr 30, 2025 that will close this issue
8 tasks
@wazuhci wazuhci moved this from In progress to Done in XDR+SIEM/Release 6.0.0 Apr 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level/task Task issue module/sca Security Compliance Assessment type/enhancement Enhancement issue
Projects
Status: Done
3 participants