- What to look for — the inspect config (info types + minimum likelihood).
- What to do with findings — the de-identify config (transformation: redact, mask, replace with info type, …).
Default SDP policies
The “Default?” column marks the tenant default — used when no
sdp_policy_id is specified on the analyzer or per request.
Authoring a custom SDP policy
In the dashboard atagnes.lasscyber.com/protection/sensitive-data:
- Click New SDP policy.
- Author the inspect config:
- Name and description.
- Add
infoTypesfrom the Cloud DLP catalog. The full list is at cloud.google.com/sensitive-data-protection/docs/infotypes-reference. - Set
minLikelihood(POSSIBLE,LIKELY,VERY_LIKELY). Higher likelihood = fewer false positives, more false negatives. - Optionally toggle
includeQuoteto receive the matched text verbatim alongside each finding.
- Author the de-identify config:
- Name and description.
- Pick a
primitiveTransformation:replaceConfig— replace with a static string (e.g.[REDACTED]).characterMaskConfig— mask every char with a chosen char (e.g.*).replaceWithInfoTypeConfig— replace with the info type label in brackets (preserves auditability).redactConfig— fully remove the value (empty string).
- Bind the two configs into a policy with a name, description,
and optional
is_defaultflag.
Example: a clinical trials team
A team accepting patient narratives in an LLM workflow needs:- Strict PHI detection (HIPAA).
- Replace findings with the info type label so analysts can audit which categories hit.
Likelihood and false positives
Cloud DLP’s likelihood scale (lowest to highest):VERY_UNLIKELY → UNLIKELY → POSSIBLE → LIKELY → VERY_LIKELY
Recommended starting points:
Bump the threshold up when an info type fires noisily. The shipped
Government ID Protection policy uses
LIKELY because U.S.
identifiers (especially SSNs) trigger many POSSIBLE matches on
unrelated 9-digit numbers.
Wiring it into a combined policy
Set thesdp_policy_id parameter on the dlp_analyzer (the server
key for the Sensitive Data analyzer):
Permissions
The relevant scopes are
sdp:read, sdp:create, sdp:delete. Note
that there is no in-place SDP update scope today; the dashboard
edit flow re-creates and re-binds.
Limits and cost
- Token limit: 1,000,000 tokens per request.
- DLP timeout: 30 seconds.
- Findings per request: 100 (Cloud DLP default; if your input exceeds this you’ll see truncation).
- Cost: Cloud DLP pricing per content item inspected — see cloud.google.com/sensitive-data-protection/pricing.
Next
- Sensitive Data analyzer — runtime details, metrics, and termination signals.
- Combined analyzer — wiring the SDP finding into termination.
- Cloud DLP info types reference.