- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
S3 object-level API operations such as GetObject, DeleteObject, and PutObject are called data events. By default, CloudTrail trails don’t log data events and so it is recommended to enable Object-level logging for S3 buckets.
Enabling object-level logging will help you meet data compliance requirements within your organization, perform comprehensive security analysis, monitor specific patterns of user behavior in your AWS account, and take immediate actions on any object-level API activity within your S3 buckets using Amazon CloudWatch Events.
To enable object-level data events logging for S3 buckets within your AWS account, run the put-event-selectors
command using the name of the trail that you want to reconfigure as the identifier:
aws cloudtrail put-event-selectors \
--region <insert-region-name> \
--trail-name <insert-trail-name> \
--event-selectors '[{ "ReadWriteType": "ReadOnly", "IncludeManagementEvents":true, "DataResources": [{ "Type":"AWS::S3::Object", "Values": ["arn:aws:s3:::<s3-bucket-name>/"] }] }]'
The command output will be the object-level event trail configuration.
To enable it for all buckets at once, change the Values parameter to ["arn:aws:s3"]
.
Repeat step 1 for each s3 bucket to update object-level logging of read events.
Change the AWS region by updating the –region command parameter and perform the process for other regions.