But nothing is happening. I am not able to see any log in active-response.
Could you please assist what is wrong with the configuration?
Regards,
WazuhTest
Alexis Rivas
unread,
Oct 12, 2021, 8:36:37 AM10/12/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Wazuh mailing list
Hi ! Hope you're doing well.
Starting with your configuration, everything seems to be fine. The slash '/' at /wazuh-jira-ticket-create.sh is not required.
Before working with Active Response, there are few things to clarify:
- Responses are stateful or stateless and therefore we use different configuration for each of them. More info available here: https://documentation.wazuh.com/current/user-manual/capabilities/active-response/how-it-works.html#when-is-an-active-response-triggered. - Your custom scripts should be properly configured too, depending on AR's state (More info below) - Make sure your script got execution permission and correct ownership. - I highly recommend to set execd on debug mode se we can get more information about AR script. To set it up, just edit internal_options.conf at /var/ossec/etc and change execd.debug=0 to execd.debug=2. After trying to trigger AR, take a look with grep execd /var/ossec/logs/ossec.log.
These steps are required if AR is stateful but in the other hand if it's stateless, It's enough with 1, 2 and 3. You'll need to decide which response model suits you best.