| Default value | n/a | |
| Allowed values | local | This runs the command on the agent that generated the event. |
| server | This runs the command on the Wazuh manager. | |
| defined-agent | This runs the command on a specific agent identified by agent_id. | |
| all | This runs the command on the Wazuh manager and on all agents. Use with caution. | |
--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/78637e2b-4563-4707-806d-074f3daad1b3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+unsubscribe@googlegroups.com.
Hi Mauro,
It depends, if you have only a few agents for example 067,068,069 maybe you can create something like the following example:
<active-response>
<command>firewall-drop</command>
<location>defined-agent</location>
<agent_id>067</agent_id>
<timeout>864000</timeout>
<rules_id>117154,31510,117159,117162</rules_id>
</active-response>
<active-response>
<command>firewall-drop</command>
<location>defined-agent</location>
<agent_id>068</agent_id>
<timeout>864000</timeout>
<rules_id>117154,31510,117159,117162</rules_id>
</active-response>
<active-response>
<command>firewall-drop</command>
<location>defined-agent</location>
<agent_id>069</agent_id>
<timeout>864000</timeout>
<rules_id>117154,31510,117159,117162</rules_id>
</active-response>
One section per agent for example…
How many agent are we talking about? more or less…
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/d63a9e4f-0bcb-4724-a2e6-16445e052753%40googlegroups.com.
Hi Mauro,
It depends, if you have only a few agents for example 067,068,069 maybe you can create something like the following example:
Hi Mauro,
You can do it with the Granular email
For example:
<email_alerts>
<email_to>y...@example.com</email_to>
<rule_id>515, 516</rule_id>
<do_not_delay />
</email_alerts>
In this case one email is send every time that the rules 515 or 516 are triggered, you can do similar with the rules id’s that you are using to trigger the Active Response.
You can find more options at the following link:
--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/00430de2-2f39-4921-b148-452088169ae5%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+unsubscribe@googlegroups.com.
Hi José,
I just added the lines you suggested:
<email_alerts>
<email_to>mauro.tridici@cmcc.it</email_to>
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/fb4e48d3-d498-40d7-a09a-0b847d4ba9cb%40googlegroups.com.