Closed pro-akim closed 9 months ago
Creation of mentioned methods were performed. After developing methods, PR was done. Some methods does not have API or Folder method.
Checking review.
Most of the fixes were performed. However, it will be needed to have some team communication in order to define 'validations' in each method. The status of the issue is changed to On hold
Will be added a parameter that allows to check previous existence (agent assigned to groups or groups)
Parameters successfully added, Tests OK Ready to review
PR was not pushed correctly.
Changes are done, but Linter is not working properly, the last commit was just a linting correction but the message is wrong. Ready to review
Moved to on hold for task with higher priorities
Moved to on hold for task with higher priorities
Moved to on hold for task with higher priorities
Moved to on hold for task with higher priorities
Moved to pending review. Linter is pointing out, lines that does not show conflicts.
Some small changes were done after linter (replacement of " for ') and parameters of 'get_agents_id' method and 'get_agent_id', documentation fixed.
Some conflicts have been raised. Fixing them
Delayed ETA to 22, in order to allow a review of the applied changes
Fixes done after review.
LGTM!
Description
Develop for qa-system-framework in WazuhHandler
Method to create and delete groups. It should include: via API, via CMD, via deleting or creating a directory, if it is possible. Consider a method to create and delete groups individually, as well as create and delete groups through a list of groups.
Method to assign and unassign agents to groups: It should include: via API, via CMD, via deleting or creating a directory, if it is possible. It should include assigning and unassigning agents to groups individually, as well as receiving a list of agents for a group.
Created methods
wazuh_handler.create_group()
method: cmd/api
wazuh_handler.delete_group()
method: cmd/api/folder
wazuh_handler.assign_agent_group()
method: cmd/api
wazuh_handler.assign_agents_group()
method: cmd/api
wazuh_handler.unassign_agent_group()
method: api
wazuh_handler.unassign_agents_group()
method: api
wazuh_handler,check_agent_groups()
method: cmd