-
Notifications
You must be signed in to change notification settings - Fork 32
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
IT - Wazuh DB (T0): Successful behavior of wazuh DB commands #2532
Labels
Comments
13 tasks
13 tasks
7 tasks
7 tasks
7 tasks
7 tasks
This was referenced Mar 2, 2022
9 tasks
This was
linked to
pull requests
Mar 9, 2022
After review by the Core Team, a few changes were requested:
|
Update 2022/04/07
|
13 tasks
It was merged on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
During the Wazuh DB agent group migration, the core team added new wazuh-db commands that requires new validations.
This issue is for adding examples and validations to global_messages.yaml
The commands involved are:
sync-agent-groups-get
Summary:
- The command follows the syntax
sync-agent-groups-get <json-params>
json-params
follows the following format:
References:
set-agent-groups
Summary:
The command follows the syntax
set-agent-groups <json-params>
The
json-params
follows the next format:
The response follows the next format:
1. In case of success:
ok
2. In case of error:
err An error occurred during the set of the groups
Note
Missing cases of remove.
References:
get-groups-integrity
Summary:
It receives as a parameter the hash of the group information.
It calculates the hash of the group information in the database and compares the hashes (received vs calculated).
group_sync_status
insyncreq
state, returns a json array with the wordsyncreq
indicating that the information requires synchronization before checking its integrity.group_sync_status
insyncreq
state, it calculates the hash and compares it with the one received as a parameter. It can return a JSON array withsynced
orhash_mismatch
References:
- Added get-groups-integrity command - Comment
global backup
Summary:
global.db
database.global backup <create/get/restore> < JSONrestore data>
References:
- Comment
wazuhdb getconfig
References:
The text was updated successfully, but these errors were encountered: