An AWS S3 bucket lifecycle policy expiration is set to < 90 days
이 페이지는 아직 영어로 제공되지 않습니다. 번역 작업 중입니다.
현재 번역 프로젝트에 대한 질문이나 피드백이 있으신 경우
언제든지 연락주시기 바랍니다.Goal
Detect when an S3 bucket has a lifecycle configuration set with an expiration policy of less than 90 days.
Strategy
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.
Triage & response
- Determine if
{{@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. - If
{{@requestParameters.bucketName}}
is equal to {{@aws.s3.bucket}}
, the CloudTrail bucket, consider escalating to higher severity and investigating further.