Check ID:
Provider: GCP
Service:
Severity: MEDIUM
Categories:
Resource type:
compute_instance_disk_auto_delete_disabledProvider: GCP
Service:
computeSeverity: MEDIUM
Categories:
resilienceResource type:
compute.googleapis.com/InstanceWhat this check verifies
This check verifies whether GCP Compute Engine VM instances have auto-delete disabled for their attached persistent disks. When auto-delete is enabled, persistent disks are automatically removed when the associated VM instance is deleted, which can lead to unintended data loss.Risk
With auto-delete enabled, persistent disks are automatically deleted when the associated VM instance is terminated. This could result in:- Permanent data loss if the instance is accidentally or intentionally deleted
- Recovery challenges for mission-critical workloads
- Compliance violations where data retention is required
Recommendation
Disableauto-delete for all persistent disks attached to production and business-critical VM instances to prevent accidental data loss. Regularly review disk configurations to ensure data retention requirements are met.
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 = compute_instance_disk_auto_delete_disabled. 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