Check ID:
Provider: GCP
Service:
Severity: MEDIUM
Categories:
Resource type:
cloudstorage_bucket_sufficient_retention_periodProvider: GCP
Service:
cloudstorageSeverity: MEDIUM
Categories:
resilienceResource type:
storage.googleapis.com/BucketWhat this check verifies
Cloud Storage bucket has a bucket-level Retention Policy with a retentionPeriod that meets or exceeds the organization-defined minimum, preventing deletion or modification of objects before the required time.Risk
Insufficient or missing retention allows premature deletion or modification of objects, weakening data recovery and compliance with retention requirements.Recommendation
Define and apply a bucket-level Retention Policy that meets your minimum retention requirement (e.g., 90 or 365 days) to enforce data recoverability and compliance.Remediation
- CLI
- Terraform
- Dashboard steps
References
Where this check fires
This check runs on every scheduled scan against your GCP account. Findings appear at Cloud Security → Findings filterable byCheck ID = cloudstorage_bucket_sufficient_retention_period. To re-evaluate after a fix, hit Run now on the account’s schedule under Cloud Security → Schedules — the next scan re-checks this control and marks the finding fixed or keeps it persistent.
← Back to GCP checks