1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
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
Contenus pertinents
- demandé il y a un an
- demandé il y a un an
- demandé il y a 2 mois
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 4 mois
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