Normal CloudTrail logs are stored in:
s3://my_log_bucket/OPTIONAL_PREFIX/AWSLogs/111111111111/CloudTrail/
Organization CloudTrail logs are stored in:
s3://my_log_bucket/OPTIONAL_PREFIX/AWSLogs/o-ORGANIZATION_ID/111111111111/CloudTrail/
I need to account for that o-ORGANIZATION_ID sub-directory.
One method may be to have in the config.yaml the full path to the CloudTrail logs, such as:
accounts:
- name: demo
id: 111111111111
iam: account-data/demo_iam.json
cloudtrail_logs: s3://my_log_bucket/OPTIONAL_PREFIX/AWSLogs/o-ORGANIZATION_ID/111111111111/CloudTrail/
``
Normal CloudTrail logs are stored in:
Organization CloudTrail logs are stored in:
I need to account for that
o-ORGANIZATION_IDsub-directory.One method may be to have in the
config.yamlthe full path to the CloudTrail logs, such as: