turbot/alicloud_compliance

Control: 2.12 Ensure log monitoring and alerts are set up for VPC network route changes

Description

It is recommended that a metric filter and alarm be established for VPC network route changes.

Remediation

Perform the following to ensure the log monitoring and alerts are set up for VPC network route changes:

From Console

  1. Logon to SLS Console.
  2. Click Log Service Audit Service in the navigation pane.
  3. Go to Access to Cloud Products > Global Configuration page.
    • Select a location of project for logs.
    • Check the Action Trail and configure a proper days.
    • Click Save to save the changes.
  4. Go to Access to Cloud Products > Global Configurations click Central Project.
  5. Select Log Management > Actiontrail Log.
  6. In the search/analytics console, input below query
("event.serviceName": Ecs or "event.serviceName": Vpc) and ("event.eventName": CreateRouteEntry or "event.eventName": DeleteRouteEntry or "event.eventName": ModifyRouteEntry or "event.eventName": AssociateRouteTable or "event.eventName": UnassociateRouteTable) | select count(1) as c
  1. Create a dashboard and set alert for the query result.

Usage

Run the control in your terminal:

powerpipe control run alicloud_compliance.control.cis_v100_2_12

Snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe control run alicloud_compliance.control.cis_v100_2_12 --share

SQL

This control uses a named query:

manual_control

Tags