More Info:

Ensure that GCP Cloud Monitoring notification channel is enabled.

Risk Level

Medium

Address

Operational Maturity, Security

Compliance Standards

CBP

Triage and Remediation

Remediation

To remediate the misconfiguration “Cloud Monitoring Notification Channel Should Be Enabled” for GCP using GCP console, follow these steps:

  1. Go to the GCP Console and select the project where the misconfiguration is present.
  2. Click on the “Navigation menu” icon (three horizontal lines) in the top-left corner of the console and select “Monitoring”.
  3. In the Monitoring dashboard, click on the “Notification channels” tab on the left-hand side.
  4. Click on the “Add notification channel” button at the top of the page.
  5. Select the appropriate notification channel type (e.g. email, SMS, Slack, etc.) and follow the prompts to set up the channel.
  6. Once the notification channel is set up, click on the “Alerting policies” tab on the left-hand side.
  7. Click on the “Create policy” button at the top of the page.
  8. Give the policy a name and description, and select the appropriate resource type and metric for the policy.
  9. Under the “Conditions” section, set the conditions for the policy to trigger an alert (e.g. if CPU usage exceeds a certain threshold).
  10. Under the “Notification channels” section, select the notification channel that was set up in step 5.
  11. Click on the “Save” button to save the policy.

Once these steps are completed, the misconfiguration “Cloud Monitoring Notification Channel Should Be Enabled” will be remediated for the GCP project.

Additional Reading: