More Info:

Send logs and metrics to a remote aggregator to mitigate the risk of local tampering in the event of a breach.

Risk Level

Low

Address

Security, Reliability, Operational Excellence, Performance Efficiency

Compliance Standards

CISGKE

Triage and Remediation

Remediation

To remediate the misconfiguration “Ensure Stackdriver Kubernetes Logging And Monitoring Is Enabled” for GCP using GCP console, follow the below steps:

  1. Login to the GCP console with valid credentials.
  2. Navigate to the Google Kubernetes Engine (GKE) cluster for which you want to enable Stackdriver Kubernetes Logging and Monitoring.
  3. Click on the “Edit” button at the top of the page.
  4. Scroll down to the “Stackdriver” section and click on it.
  5. Under the “Stackdriver Logging” section, toggle the switch to “Enabled”.
  6. Under the “Stackdriver Monitoring” section, toggle the switch to “Enabled”.
  7. Click on the “Save” button at the bottom of the page.

Once the above steps are completed, Stackdriver Kubernetes Logging and Monitoring will be enabled for the GKE cluster. You can then view logs and metrics for your Kubernetes cluster in the Stackdriver Logging and Monitoring UI.

Additional Reading: