Skip to content

Adapt SCA to use state persistence #30221

@TomasTurina

Description

@TomasTurina

Description

Integrate the SCA C++ code into 5.x and use the state persistence system.

Tasks

  • Port C++ code from 6.x to 5.x
  • Integrate with wazuh-modulesd in C
  • Use dbsync for state
  • Adapt DB schema and field names (if necessary)
    • We need to add the checksum.
  • Adapt message structures and routing (stateful and stateless)
  • Adapt SCA policies regex.

DoD

  • Successful compile and execution of migrated code
  • Successful use of buffer and protocol
  • SCA reports state correctly after restart
  • SCA reports stateless messages correctly
  • SCA policies works with PCRE2 in all OS supported

Sub-issues

Metadata

Metadata

Labels

Projects

Status

In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions