Skip to content

Commit

Permalink
Remediation Guide for GCP Snapshot Labels Added Plugin (#614)
Browse files Browse the repository at this point in the history
mehakseedat63 authored Oct 18, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 707e93f commit e037f73
Showing 5 changed files with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions en/google/compute/snapshot-labels-added.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
[![CloudSploit](https://cloudsploit.com/img/logo-new-big-text-100.png "CloudSploit")](https://cloudsploit.com)

# GOOGLE / Compute / Snapshot Labels Added

## Quick Info

| | |
|-|-|
| **Plugin Title** | Snapshot Labels Added |
| **Cloud** | GOOGLE |
| **Category** | Compute |
| **Description** | Ensure that Compute disk snapshots have labels added. |
| **More Info** | Labels are a lightweight way to group resources together that are related to or associated with each other. It is a best practice to label cloud resources to better organize and gain visibility into their usage.Labels are a lightweight way to group resources together that are related to or associated with each other. It is a best practice to label cloud resources to better organize and gain visibility into their usage. |
| **GOOGLE Link** | https://cloud.google.com/compute/docs/labeling-resources |
| **Recommended Action** | Ensure labels are added to all Compute disk snapshots. |

## Detailed Remediation Steps
1. Log into the Google Cloud Platform Console.
2. Scroll down the left navigation panel and choose "Compute Engine" to select the "Snapshots" option. </br> <img src="/resources/google/compute/snapshot-labels-added/step2.png">
3. On the "Snapshots" page, select the compute disk snapshot which needs to be verified whether it has labels added or not by clicking on the checkbox next to its name.</br> <img src="/resources/google/compute/snapshot-labels-added/step3.png"/>
4. From the panel on the right side, select "Labels" and check if there are any labels shown. If not, the compute disk snapshot does not have labels added.</br> <img src="/resources/google/compute/snapshot-labels-added/step4.png"/>
5. Repeat steps number 3-4 to check other snapshots in the project.</br>
6. Navigate to "Compute Engine", choose "Snapshots". From the panel on the right side, click on "Labels" and then click on the checkbox next to the name of the "Snapshot" which needs to have labels added.</br> <img src="/resources/google/compute/snapshot-labels-added/step4.png"/>
7. Click on "Add Label", and add key and value for the label. Add as many labels as you want and then click "Save".</br> <img src="/resources/google/compute/snapshot-labels-added/step7.png"/>
8. Repeat steps number 7-8 to add labels to all other snapshots in the project.</br>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e037f73

Please sign in to comment.