Difference between revisions of "S3:GetObject"

From wikieduonline
Jump to navigation Jump to search
Line 16: Line 16:
 
     and eventName = 'GetObject'
 
     and eventName = 'GetObject'
 
     and userIdentity.arn = '[[arn:aws:sts]]::0987654321:[[assumed-role/]]your-role/[email protected]'
 
     and userIdentity.arn = '[[arn:aws:sts]]::0987654321:[[assumed-role/]]your-role/[email protected]'
group by 1,
+
group by 1,
 
     2,
 
     2,
 
     3
 
     3

Revision as of 06:26, 11 July 2024

aws s3api put-bucket-notification-configuration


PutBucketNotificationConfiguration
s3:ListBucket


select userIdentity.arn as user,
   element_at(requestParameters, 'bucketName') as bucket,
   element_at(requestParameters, 'key') as key,
   count(*) as attempts
from xxxxx-yyyyy-xxxxx-zzzz-xxxxx
where eventSource = 's3.amazonaws.com'
   and eventName = 'GetObject'
   and userIdentity.arn = 'arn:aws:sts::0987654321:assumed-role/your-role/[email protected]'
group by 1,
   2,
   3
order by attempts desc

See also

  • https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAcl.html
  • Advertising: