Skip to content
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

Added new package information from wdb #5350

Merged
merged 2 commits into from
May 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@
description: It checks the commands get packages and get hotfixes
test_case:
-
input: agent 003 package save 0|2021/04/07 22:00:00|deb|test_deb_pkg|optional|utils|7490|Wazuh [email protected]|NULL|1.0.0|amd64|NULL|NULL|Test package|NULL|1
input: agent 003 package save 0|2021/04/07 22:00:00|deb|test_deb_pkg|optional|utils|7490|Wazuh [email protected]|1715177135|1.0.0|amd64|NULL|NULL|Test package|NULL|1
output: ok
stage: agent sys_programs adding dummy package
-
input: agent 003 package save 0|2021/04/07 22:00:00|rpm|test_rpm_pkg|optional|utils|7490|Wazuh [email protected]|NULL|1.0.0|amd64|NULL|NULL|Test package|NULL|1
input: agent 003 package save 0|2021/04/07 22:00:00|rpm|test_rpm_pkg|optional|utils|7490|Wazuh [email protected]|1715177135|1.0.0|amd64|NULL|NULL|Test package|NULL|1
output: ok
stage: agent sys_programs adding dummy package
-
Expand Down Expand Up @@ -88,5 +88,5 @@
stage: agent sync_info set synced
-
input: agent 003 package get
output: ['due {"name":"test_deb_pkg","version":"1.0.0","architecture":"amd64","vendor":"Wazuh [email protected]","format":"deb","item_id":"1"}', 'due {"name":"test_rpm_pkg","version":"1.0.0","architecture":"amd64","vendor":"Wazuh [email protected]","format":"rpm","item_id":"1"}', 'ok {"status":"SUCCESS"}']
output: ['due {"name":"test_deb_pkg","version":"1.0.0","architecture":"amd64","vendor":"Wazuh [email protected]","format":"deb","item_id":"1","description":"Test package","location":"","size":7490,"install_time":"1715177135"}', 'due {"name":"test_rpm_pkg","version":"1.0.0","architecture":"amd64","vendor":"Wazuh [email protected]","format":"rpm","item_id":"1","description":"Test package","location":"","size":7490,"install_time":"1715177135"}', 'ok {"status":"SUCCESS"}']
stage: agent sys_programs getting not all packages
Loading