If there is a bucket ‘A’, granting a user no access to S3, I give him Cloudtrail readonly access, how does that work? Will the user be able to access the cloudtrail logs in the s3?
What does it mean to have a CloudTrailReadOnly access, when the storage location is S3 bucket?
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.
I am not sure if i have answered your questions, but I hope this sets you on the right path.
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?