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

GCP BigQuery dataset is publicly accessible misconfiguration detected in code

Rule Details

Cortex AppSec Rule ID

APPSEC_GCP_15

Category - Subcategory

Public Exposure - Storage Buckets

Provider

GCP

Severity

HIGH

Framework

Terraform, Terraform Plan

Mapped CSPM/KSPM Rule

c347d096-1c4b-4605-8eea-cbf1343ce6c7

Impact

Dataset-level permissions help determine which users, groups, and service accounts are allowed to access tables, views, and table data in a specific BigQuery dataset. You can configure BigQuery permissions at a higher level in the Cloud IAM resource hierarchy. Your configurations are inherited and based on the IAM structure you select to apply. We recommend you ensure private datasets remain private by avoiding the All Authenticated Users option which gives all Google account holders access to the dataset, and makes the dataset public.

How to Fix

[source,go]

resource "google_bigquery_dataset" "pass_special_group" { dataset_id = "example_dataset" friendly_name = "test" description = "This is a test description" location = "US"

access { role = "READER" special_group = "projectReaders" } }

Last updated

Was this helpful?