- 필수 기능
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- 디지털 경험
- 소프트웨어 제공
- 보안
- 로그 관리
- 관리
- 인프라스트럭처
- ci
- containers
- csm
- ndm
- otel_guides
- overview
- slos
- synthetics
- tests
- 워크플로
Detect when an S3 bucket has a lifecycle configuration set with an expiration policy of less than 90 days.
Look for @requestParameters.LifecycleConfiguration.Rule.Expiration.Days:<90
in your Cloudtrail logs.
NOTE: This rule should be set to logs that this policy applies to. The @requestParameters.LifecycleConfiguration.Rule.Expiration.Days
key path must be set as a measure to do a query.
{{@evt.name}}
should have occurred on the {{@requestParameters.bucketName}}
by username:
{{@userIdentity.sessionContext.sessionIssuer.userName}}
, accountId:
{{@userIdentity.accountId}}
of type:
{{@userIdentity.assumed_role}}
and that the {{@requestParameters.bucketName}}
bucket should have a file expiration of less than 90 days.{{@requestParameters.bucketName}}
is equal to {{@aws.s3.bucket}}
, the CloudTrail bucket, consider escalating to higher severity and investigating further.