Good morning.
I'm using Wazuh 4.0.4 and i'm trying to retrieve data from Office 365 by using this guide:
I've modified the Python script according to my version and, by launching it from the command line, it retrieve all the data that i need, however, the wodle "command" doesn't seems to start!
Reading the logs, i saw only a warning regarding the "tag", but isn't needed.
The wodle goes like this:
<wodle name="command">
<disabled>no</disabled>
<command>/path/to/script/office_365.py --contentType Audit.Exchange Audit.SharePoint DLP.All Audit.General Audit.AzureActiveDirectory --hours 24 --tenantId your_tenant_id --clientId your_client_id --clientSecret your_client_secret</command>
<interval>24h</interval>
<ignore_output>yes</ignore_output>
<run_on_start>yes</run_on_start>
<timeout>0</timeout>
</wodle>
Obviously, the "command" parameter is set with the right parameters, and i verified it by executing the exact same command trought the terminal.
The rules has been setted too, and the manager restarted, but, has i said, i can't see, in the logs, the execution of the script and no data seems to be retrieved.
Am i doing something wrong?
Thanks for the reply.