Benchmark: 2 Logging and Monitoring
Overview
This section covers recommendations addressing Logging and Monitoring on Google Cloud Platform.
Usage
Install the mod:
mkdir dashboardscd dashboardspowerpipe mod initpowerpipe mod install github.com/turbot/steampipe-mod-gcp-compliance
Start the Powerpipe server:
steampipe service startpowerpipe server
Open http://localhost:9033 in your browser and select 2 Logging and Monitoring.
Run this benchmark in your terminal:
powerpipe benchmark run gcp_compliance.benchmark.cis_v130_2
Snapshot and share results via Turbot Pipes:
powerpipe benchmark run gcp_compliance.benchmark.cis_v130_2 --share
Controls
- 2.1 Ensure that Cloud Audit Logging is configured properly across all services and all users from a project
- 2.2 Ensure that sinks are configured for all log entries
- 2.3 Ensure that retention policies on log buckets are configured using Bucket Lock
- 2.4 Ensure log metric filter and alerts exist for project ownership assignments/changes
- 2.5 Ensure that the log metric filter and alerts exist for Audit Configuration changes
- 2.6 Ensure that the log metric filter and alerts exist for Custom Role changes
- 2.7 Ensure that the log metric filter and alerts exist for VPC Network Firewall rule changes
- 2.8 Ensure that the log metric filter and alerts exist for VPC network route changes
- 2.9 Ensure that the log metric filter and alerts exist for VPC network changes
- 2.10 Ensure that the log metric filter and alerts exist for Cloud Storage IAM permission changes
- 2.11 Ensure that the log metric filter and alerts exist for SQL instance configuration changes
- 2.12 Ensure that Cloud DNS logging is enabled for all VPC networks
- 2.13 Ensure Cloud Asset Inventory Is Enabled
- 2.14 Ensure 'Access Transparency' is 'Enabled'
- 2.15 Ensure 'Access Approval' is 'Enabled'