More Info:

Ensures that logging and log alerts exist for VPC network route changes.

Risk Level

Medium

Address

Security

Compliance Standards

SOC2, NIST, ISO27001, HIPAA, CISGCP, CBP, HITRUST

Triage and Remediation

Remediation

To remediate the misconfiguration “Network Route Change Log Alerts Should Be Enabled” for GCP using GCP console, follow these steps:

  1. Open the GCP console and navigate to the Logging section.

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

  3. In the search bar at the top of the page, type “route” and press enter.

  4. Select the “GCE_NETWORK_ROUTE” log type from the dropdown menu.

  5. Click on the “Create Metric” button.

  6. Name the metric “route-change” and set the aggregation to “Count”.

  7. Click on the “Create” button to create the metric.

  8. In the left-hand menu, click on “Alerting”.

  9. Click on the “Create Policy” button.

  10. Name the policy “route-change-alert” and set the “Resource Type” to “GCE Instance”.

  11. Under “Conditions”, click on “Add Condition”.

  12. Select “Metric Threshold” as the condition type.

  13. Set the “Metric” to “route-change” and set the “Aggregation” to “Count”.

  14. Set the “Threshold” to “1” and the “For” duration to “1 minute”.

  15. Click on “Add” to add the condition.

  16. Under “Notifications”, click on “Add Notification”.

  17. Select the notification method you want to use (e.g. email, SMS, etc.) and enter the appropriate information.

  18. Click on “Save” to save the policy.

By following these steps, you will have successfully enabled network route change log alerts for GCP using GCP console.

Additional Reading: