"service, resource etc" that is creating files in S3

0

Hello I have "something" creating files in S3 ... how can I find "who " is creating these files

已提問 1 年前檢視次數 185 次
1 個回答
0

You can use AWS CloudTrail to check the log of api calls to your s3 bucket to know who/what is adding objects to your bucket.

AWS CloudTrail now supports Amazon S3 Data Events. You can record all API actions on S3 Objects and receive detailed information such as the AWS account of the caller, IAM user role of the caller, time of the API call, IP address of the API, and other details.

You can check this part of the documentation to learn how to use it.

AWS
David C
已回答 1 年前
profile picture
專家
已審閱 1 年前
profile pictureAWS
專家
kentrad
已審閱 1 年前
  • Hello David. Thanks for your help . I will check it

  • I have something like this but I cannot see from where the request is coming from {"Records":[{"eventVersion":"1.08","userIdentity":{"type":"AWSService","invokedBy":"s3.amazonaws.com"},"eventTime":"2023-05-30T17:46:17Z","eventSource":"s3.amazonaws.com","eventName":"PutObject","awsRegion":"eu-west-1","sourceIPAddress":"s3.amazonaws.com","userAgent":"s3.amazonaws.com","requestParameters":{"bucketName":"aaas3","Host":"s3.eu-west-1.amazonaws.com","key":"2023-05-30-17-46-17-7F1FFFEC5E61041F"}, eventType":"AwsApiCall"

  • i had a firehose "demo data" running but I already delete it ... not sure if it is coming from there ?

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南