Detailed configuration of what documents and sensitive content will be scanned.
| Field | Type | Required | Description |
|---|---|---|---|
version |
Optional<Long> | ➖ | Synonymous with report/policy id. |
sensitiveInfoTypes |
List<SensitiveInfoType> | ➖ | : warning: ** DEPRECATED **: Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use sensitiveContentOptions instead. DEPRECATED - use sensitiveContentOptions instead. |
inputOptions |
Optional<InputOptions> | ➖ | Controls which data-sources and what time-range to include in scans. |
externalSharingOptions |
Optional<ExternalSharingOptions> | ➖ | : warning: ** DEPRECATED **: Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use broadSharingOptions instead. |
broadSharingOptions |
Optional<SharingOptions> | ➖ | Controls how "shared" a document must be to get picked for scans. |
sensitiveContentOptions |
Optional<SensitiveContentOptions> | ➖ | Options for defining sensitive content within scanned documents. |
reportName |
Optional<String> | ➖ | N/A |
frequency |
Optional<String> | ➖ | Interval between scans. |
createdBy |
Optional<DlpPerson> | ➖ | Details about the person who created this report/policy. |
createdAt |
Optional<String> | ➖ | Timestamp at which this configuration was created. |
redactQuote |
Optional<Boolean> | ➖ | redact quote in findings of the report |
autoHideDocs |
Optional<Boolean> | ➖ | auto hide documents with findings in the report |
allowlistOptions |
Optional<AllowlistOptions> | ➖ | Terms that are allow-listed during the scans. If any finding picked up by a rule exactly matches a term in the allow-list, it will not be counted as a violation. |