How to find out who uploaded data in S3 bucket

五迷三道 提交于 2021-02-04 19:09:21

问题


I have a shared S3 bucket with other members in the team. Is there a way to find out who uploaded a particular file in the bucket?


回答1:


Buckets are owned by an AWS Account, not individual users. When a user makes an API call, AWS authenticates the user and verifies that they have permission to make the call. After that, it is the Account that owns the content. (Although objects can sometimes have a specific owner, which gets even more confusing.)

You can now use AWS CloudTrail to track data events on Amazon S3:

AWS CloudTrail now supports Amazon S3 Data Events. You can now 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.



来源:https://stackoverflow.com/questions/46368269/how-to-find-out-who-uploaded-data-in-s3-bucket

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!