2 Answers
Hi,
I would need to do some testing, but I think the key to this issue is what is accessing the logs in the S3 bucket ?
CloudTrail is primarily a collection tool. CloudTrail / trail is an archiving services that uses S3, and it only needs S3 GetBucket ACLt and PutObject permissions.
Once in S3, further analysis is by other tools starting with CloudWatch Logs and CloudWatch Events, Athena and extending to 3rd party tools. It is these servies that would need to read the objects in S3.
– https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-working-with-log-files.html
– https://docs.aws.amazon.com/athena/latest/ug/cloudtrail-logs.html
I am not sure if i have answered your questions, but I hope this sets you on the right path.
Rusty
Moderator
Would that user have access to the short term logs in Cloudtrail before they are transferred to the S3 bucket? (The hidden bucket as mentioned in the last lecture) Or does that disappear when you enable the full cloudtrail?
I think the user won’t have access to the bucket, even if he has readonly permission on cloudtrail as there’s an explicit deny which will over rule readonly allow. Correct me if i am wrong.