-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
FIM System tests: 0202 - Realtime monitoring #549
FIM System tests: 0202 - Realtime monitoring #549
Conversation
…wazuh-qa into feature-531-realtime-scenario
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amazing job @grg121!
I have some suggested changes, please check them.
Best regards,
Jose
verify_alerts_json.py -i {{ item.path }} -e {{ event }} | ||
-o {{ missing_alerts_json_path }} | ||
verify_alerts_json.py -i {{ item.path }} -e {{ event }} | ||
-o {{ missing_alerts_json_path }} {{ alert_verification_extra_arguments }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{{ elastic_verification_extra_arguments }}
is also an alert verification, please consider changing it to {{ json_verification_extra_arguments }} as it's related to
alerts.json` verification
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But what if those scripts accept different parameters in the future?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The {{ elastic_verification_extra_arguments }}
will accept multiple parameters and will be declared using set_fact
. E.G:
set_fact:
elastic_verification_extra_arguments: "-s 60 -w True"
…ion/generation scripts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Closes #531
Ready for review. I'm getting a lot of error generating alerts with realtime when the scan frequency is high. I'm investigating it but meanwhile, you could review the changes.
Best regards.