1 Resposta
- Mais recentes
- Mais votos
- Mais comentários
2
Hello.
Check "Data events" when creating a trail with CloudTrail.
With these settings, S3 data events will be recorded in the trail.
https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-create-a-trail-using-the-console-first-time.html
For AWS CLI, I think the following documentation will be helpful.
Set a data event in the trail using the command "put-event-selector".
https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-additional-cli-commands.html#configuring-event-selector-examples
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/cloudtrail/put-event-selectors.html
Conteúdo relevante
- AWS OFICIALAtualizada há 2 meses
- AWS OFICIALAtualizada há 2 anos
For your reference, here is the command to enable S3 data events.
This is what I needed. For the next person looking: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/cloudtrail/client/put_event_selectors.html