Detailed configuration of what documents and sensitive content will be scanned.
| Field | Type | Required | Description |
|---|---|---|---|
version |
Optional[int] | ➖ | Synonymous with report/policy id. |
sensitive_info_types |
List[models.SensitiveInfoType] | ➖ | : warning: ** DEPRECATED **: Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use sensitiveContentOptions instead. DEPRECATED - use sensitiveContentOptions instead. |
input_options |
Optional[models.InputOptions] | ➖ | Controls which data-sources and what time-range to include in scans. |
external_sharing_options |
Optional[models.ExternalSharingOptions] | ➖ | : warning: ** DEPRECATED **: Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use broadSharingOptions instead. |
broad_sharing_options |
Optional[models.SharingOptions] | ➖ | Controls how "shared" a document must be to get picked for scans. |
sensitive_content_options |
Optional[models.SensitiveContentOptions] | ➖ | Options for defining sensitive content within scanned documents. |
report_name |
Optional[str] | ➖ | N/A |
frequency |
Optional[str] | ➖ | Interval between scans. |
created_by |
Optional[models.DlpPerson] | ➖ | Details about the person who created this report/policy. |
created_at |
Optional[str] | ➖ | Timestamp at which this configuration was created. |
redact_quote |
Optional[bool] | ➖ | redact quote in findings of the report |
auto_hide_docs |
Optional[bool] | ➖ | auto hide documents with findings in the report |
allowlist_options |
Optional[models.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. |