"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

질문됨 일 년 전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
답변함 일 년 전
profile picture
전문가
검토됨 일 년 전
profile pictureAWS
전문가
kentrad
검토됨 일 년 전
  • 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 ?

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠