Skip to content

Commit

Permalink
Remediation Guide for GCP Image Labels Added Plugin (#612)
Browse files Browse the repository at this point in the history
  • Loading branch information
mehakseedat63 authored Oct 18, 2022
1 parent 081e06c commit c4b8f93
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions en/google/compute/image-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 / Image Labels Added

## Quick Info

| | |
|-|-|
| **Plugin Title** | Image Labels Added |
| **Cloud** | GOOGLE |
| **Category** | Compute |
| **Description** | Ensure that all VM disk images 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 disk images. |

## 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 "Images" option. </br> <img src="/resources/google/compute/image-labels-added/step2.png">
3. On the "Image" page, select the disk image 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/image-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 disk image does not have labels added.</br> <img src="/resources/google/compute/image-labels-added/step4.png"/>
5. Repeat steps number 3-4 to check other disk images in the project.</br>
6. Navigate to "Compute Engine", choose "Images". From the panel on the right side, click on "Labels" and then click on the checkbox next to the name of the "Image" which needs to have labels added.</br> <img src="/resources/google/compute/image-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/image-labels-added/step7.png"/>
8. Repeat steps number 7-8 to add labels to all other disk images 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 c4b8f93

Please sign in to comment.