-
Notifications
You must be signed in to change notification settings - Fork 178
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remediation Guide for GCP Cloud Function Labels Added Plugin (#611)
- Loading branch information
1 parent
c4b8f93
commit 39854d8
Showing
7 changed files
with
26 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,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> |
Binary file added
BIN
+60.7 KB
resources/google/cloudfunctions/cloud-function-labels-added/step2.png
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.
Binary file added
BIN
+84.9 KB
resources/google/cloudfunctions/cloud-function-labels-added/step5.png
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.