Data Loss Prevention V2 Client - Class SecretsDiscoveryTarget (1.19.0)

Reference documentation and code samples for the Data Loss Prevention V2 Client class SecretsDiscoveryTarget.

Discovery target for credentials and secrets in cloud resource metadata.

This target does not include any filtering or frequency controls. Cloud DLP will scan cloud resource metadata for secrets daily. No inspect template should be included in the discovery config for a security benchmarks scan. Instead, the built-in list of secrets and credentials infoTypes will be used (see https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference#credentials_and_secrets). Credentials and secrets discovered will be reported as vulnerabilities to Security Command Center.

Generated from protobuf message google.privacy.dlp.v2.SecretsDiscoveryTarget

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameter
Name Description
data array

Optional. Data for populating the Message object.