For the complete documentation index, see llms.txt. This page is also available as Markdown.
Cortex CloudApplication Security

GCP storage bucket is logging to itself misconfiguration detected in code

Rule Details

Cortex AppSec Rule ID

APPSEC_GCP_63

Category - Subcategory

Storage - Alerting

Provider

GCP

Severity

LOW

Framework

Terraform, Terraform Plan

Mapped CSPM/KSPM Rule

f86eb55e-e113-4248-9471-774d5f0e7f0b

Impact

A check to ensure that the specified logging bucket is not itself. A bucket must not log access to itself, logging requires a second separate bucket.

How to Fix

Resource: google_storage_bucket This check will trigger if you attempt to self reference: [source,go]

resource "google_storage_bucket" "mylovelybucket" { name = "mylovelybucket" location = var.location uniform_bucket_level_access = true logging { log_bucket = "mylovelybucket" } }

Last updated

Was this helpful?