Hi Hailey,
What is the path where your Cloudtrail logs are actually being stored inside the bucket? According to the documentation, the standard file system AWS CloudTrail will create has this structure by default:
<bucket_name>/<prefix>/AWSLogs/<account_id>/CloudTrail/<region>/<year>/<month>/<day>But Wazuh can handle any path that matches this pattern:
<bucket_name>/<prefix>/AWSLogs/<suffix>/<organization_id>/<account_id>/CloudTrail/<region>/<year>/<month>/<day>For example, if my logs were in wazuh-cloudtrail-bucket/AWSLogs/o-wazuh-1234567/166123456789/CloudTrail/us-west-1/2023/06/06, I would need a configuration similar to this one:
<wodle name="aws-s3"> <disabled>no</disabled> <interval>10m</interval> <run_on_start>yes</run_on_start> <skip_on_error>yes</skip_on_error> <bucket type="cloudtrail"> <name>wazuh-cloudtrail-bucket</name> <aws_organization_id>o-wazuh-1234567</aws_organization_id> <aws_account_id>166123456789</aws_account_id> <aws_profile>default</aws_profile> </bucket> </wodle>Let me know if this works for you!