public sealed class SecretsDiscoveryTarget : IMessage<SecretsDiscoveryTarget>, IEquatable<SecretsDiscoveryTarget>, IDeepCloneable<SecretsDiscoveryTarget>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API 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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis page provides documentation for the \u003ccode\u003eSecretsDiscoveryTarget\u003c/code\u003e class within the Google Cloud Data Loss Prevention (DLP) v2 API, with the current version at 4.14.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSecretsDiscoveryTarget\u003c/code\u003e class is used to define a discovery target for credentials and secrets found in cloud resource metadata and is implemented as a sealed class.\u003c/p\u003e\n"],["\u003cp\u003eCloud DLP will scan cloud resource metadata daily for secrets, and no specific inspect template is required for this security benchmark scan.\u003c/p\u003e\n"],["\u003cp\u003eDiscovered credentials and secrets are reported as vulnerabilities to Security Command Center.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation outlines the class's inheritance, the interfaces it implements, and provides a list of available versions ranging from 2.15.0 to 4.16.0 (latest) for reference.\u003c/p\u003e\n"]]],[],null,[]]