Multi-account CloudTrail S3 object ownership

0

When AWS CloudTrail is sent to an Amazon S3 bucket in a different account, ownership of the object in S3 is kept as the sender account. Is there a way to change the ownership to account where s3 is located?

AWS
feita há 4 anos436 visualizações
1 Resposta
0
Resposta aceita

By default, an S3 object is owned by the identity that uploaded the object. Every bucket and object in Amazon S3 has an owner, the user that created the bucket or object. The owner of a bucket or object cannot be changed. However, if the object is overwritten by another user (deleted and rewritten), the new object will have a new owner.

However, as of October 2nd, 2020, you can now change the object owner on upload. See here for details:

https://aws.amazon.com/about-aws/whats-new/2020/10/amazon-s3-object-ownership-enables-bucket-owners-to-automatically-assume-ownership-of-objects-uploaded-to-their-buckets/

And:

https://docs.aws.amazon.com/AmazonS3/latest/dev/about-object-ownership.html

But the default behavior of S3 remains unchanged.

Bruno_M
respondido há 4 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas