"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

gefragt vor einem Jahr185 Aufrufe
1 Antwort
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
beantwortet vor einem Jahr
profile picture
EXPERTE
überprüft vor einem Jahr
profile pictureAWS
EXPERTE
kentrad
überprüft vor einem Jahr
  • 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 ?

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen