Scan data for secrets

Google Cloud Storage (GCS)

7min


Source integration to GCS, the managed cloud storage service.

Configuration

Buckets that the given credentials can list and access will be scanned.





Local configuration

ProjectID is required. If you omit providing buckets then all buckets that the credential can list and access will be scanned.

When using the include/exclude filters for buckets or objects, the include filters take precedence if both are specified. It is recommended to only use one of the two filters for each.

GCS with IAM credentials (recommended)

Configuration
Example IAM policy


GCS with service account file (JSON)

Configuration
Example IAM policy


GCS without authentication

Can only be used for public buckets. Since these scans are unauthenticated, you must specify which buckets are to be scanned.

Unauthenticated


Options

Key

Description

Required

projectId

GCP Project ID

Yes

includeBuckets

Buckets to be included. Omit to enumerate instead.

No

excludeBuckets

Buckets to be excluded

No

includeObjects

Objects to be included; supports globbing

No

excludeObjects

Objects to be excluded; supports globbing

No

maxObjectSize

The maximum size of the object

No

Capabilities

Feature

Supported

Scan archive files

Scan base64 encoded data

Scan binaries

Scan Microsoft Office documents

Exclude Filter

Include Filter

Auto resume



Updated 17 Jun 2024
Doc contributor
Doc contributor
Doc contributor
Doc contributor
Did this page help you?