LOW
Source
CloudSploit
ID
cloud-function-labels-added

Cloud Function Labels Added

Ensure that all Cloud Functions have labels added.

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.

Follow the appropriate remediation steps below to resolve the issue.

  1. Log into the Google Cloud Platform Console.

  2. Scroll down the left navigation panel and click on “Cloud Functions”.

  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.Step

  4. From the panel at the top of the page, click on “Labels”.Step

  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. Step

  6. Repeat steps number 3-5 to check other cloud functions in the project.

  7. 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.Step

  8. 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”.Step

  9. Repeat steps number 6-7 to add labels to all other cloud functions in the project.