Closed cborla closed 1 month ago
Inventory migration
Testing:
Inventory migration
Testing:
Migrate inventory unit test #102:
Update 2024/08/22
Migrate inventory unit test #102:
Migrate inventory unit test #102:
Migrate inventory unit test #102:
Migrate inventory unit test #102:
Parent issue:
Description
Migrate Syscollector and DBsync code from the
wazuh/wazuh
repository to thewazuh/wazuh-agent
repository.Tasks
wazuh/wazuh
repository.wazuh/wazuh-agent
repository.Implementation Constraints
Dependencies
Migration spike: https://github.com/wazuh/wazuh/issues/24037
Subtasks
Initial tasks
wazuh-agent
repository.libdb
,pacman
,procps
,rpm
.data-provider
dbsync
rsync
.src/common/
) used by inventory.wm_syscollector.c
module definition code based onstruct wm_context
.[x] Investigate how to add missing dependencies to vcpkg:
libdb
,pacman
,procps
, andrpm
to vcpkg.make
instead ofcmake
. We may need help from Octa or the team who originally worked on it.[x] Integrate with the Queue:
inventory
,data-provider
, anddbsync
.pool.cpp
) and decide if this will be the final name.[x] Compile Windows with MSVC
[x] Replace to new Logger
[ ] Clean up code for unsupported operating systems.
[x] Analyze if
http-request
(urlrequest) used bydata-provider
can be removed.Nice to have