More Info:

Ensures that logging and log alerts exist for audit configuration changes. Project Ownership is the highest level of privilege on a project, any changes in audit configuration should be heavily monitored to prevent unauthorized changes.

Risk Level

Medium

Address

Security

Compliance Standards

SOC2, CISGCP, CBP, HITRUST, GDPR, PCIDSS

Triage and Remediation

Remediation

To remediate the misconfiguration “Audit Configuration Change Log Alerts Should Be Enabled” on GCP using the GCP console, you can follow these steps:

  1. Open the GCP console and navigate to the Cloud Logging page.

  2. Click on “Logs-based Metrics” in the left-hand menu.

  3. Click on “Create Metric” to create a new metric.

  4. Give your metric a name and description, and set the filter to the following:

    resource.type="project"
    protoPayload.methodName="SetIamPolicy"
    

    This filter will match any changes to the IAM policy for your project.

  5. Under “Configuration”, select “Create Alert from Metric”.

  6. Configure your alert as desired, including the notification channels you want to use.

  7. Save your alert.

By following these steps, you will have enabled Audit Configuration Change Log Alerts on GCP, allowing you to be notified whenever changes are made to your project’s IAM policy.

Additional Reading: