Skip to content

Commit

Permalink
Remediation Guide for GCP Cloud Function Labels Added Plugin (#611)
Browse files Browse the repository at this point in the history
  • Loading branch information
mehakseedat63 authored Oct 18, 2022
1 parent c4b8f93 commit 39854d8
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions en/google/cloudfunctions/cloud-function-labels-added.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[![CloudSploit](https://cloudsploit.com/img/logo-new-big-text-100.png "CloudSploit")](https://cloudsploit.com)

# GOOGLE / Cloud Functions / Cloud Function Labels Added

## Quick Info

| | |
|-|-|
| **Plugin Title** | Cloud Function Labels Added |
| **Cloud** | GOOGLE |
| **Category** | Cloud Functions |
| **Description** | Ensure that all Cloud Functions 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/functions/docs/configuring |
| **Recommended Action** | Ensure labels are added to all Cloud Functions. |

## Detailed Remediation Steps
1. Log into the Google Cloud Platform Console.
2. Scroll down the left navigation panel and click on "Cloud Functions". </br> <img src="/resources/google/cloudfunctions/cloud-function-labels-added/step2.png">
3. On the "Cloud Functions" page, select the cloud function 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/cloudfunctions/cloud-function-labels-added/step3.png"/>
4. From the panel at the top of the page, click on "Labels".</br> <img src="/resources/google/cloudfunctions/cloud-function-labels-added/step4.png"/>
5. A popup will open on the right side of the page, check if there are any labels shown in it. If not, the cloud function does not have labels added. </br> <img src="/resources/google/cloudfunctions/cloud-function-labels-added/step5.png"/>
5. Repeat steps number 3-5 to check other cloud functions in the project.</br>
6. Navigate to "Cloud Functions" and click on it. Click on the checkbox next to the name of the "Cloud Function" which needs to have labels added and click on "Labels" at the top of the page.</br> <img src="/resources/google/cloudfunctions/cloud-function-labels-added/step6.png"/>
7. In the popup on the right side, 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/cloudfunctions/cloud-function-labels-added/step7.png"/>
8. Repeat steps number 6-7 to add labels to all other cloud functions 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.
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 39854d8

Please sign in to comment.