forked from aquasecurity/cloud-security-remediation-guides
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #75 from rtkwlf/AWN-194550
AWN-194550
- Loading branch information
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
[![CloudSploit](https://cloudsploit.com/img/logo-new-big-text-100.png "CloudSploit")](https://cloudsploit.com) | ||
|
||
# GOOGLE / Compute / Persistent Disks Auto Delete | ||
|
||
## Quick Info | ||
|
||
| | | | ||
|-|-| | ||
| **Plugin Title** | Persistent Disks Auto Delete | | ||
| **Cloud** | GOOGLE | | ||
| **Category** | Compute | | ||
| **Description** | Automatically delete read/write zonal persistent disks when the associated VM instance is deleted | | ||
| **More Info** | This behavior is controlled by the autoDelete property on the VM instance for a given attached zonal persistent disk and can be updated at any time. | | ||
| **GOOGLE Link** | https://cloud.google.com/compute/docs/disks | | ||
| **Recommended Action** | Set the auto-delete state of a zonal persistent disk. | | ||
|
||
## Detailed Remediation Steps | ||
1. In the Google Cloud console, go to the VM instances page. | ||
|
||
[Go to VM instances](https://console.cloud.google.com/compute/instances) | ||
|
||
2. Select the instance that has the disks associated with it. | ||
|
||
3. Click the instance name. The VM instance details page appears. | ||
|
||
4. Click Edit. | ||
|
||
5. In the Storage section, under the heading Additional disks, click the pencil icon mode_edit to change the disk's Deletion Rule. | ||
|
||
6. Click Save to update your instance. |