Class ExcludeByHotword (3.25.0)

ExcludeByHotword(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The rule to exclude findings based on a hotword. For record inspection of tables, column names are considered hotwords. An example of this is to exclude a finding if it belongs to a BigQuery column that matches a specific pattern.

Attributes

Name Description
hotword_regex google.cloud.dlp_v2.types.CustomInfoType.Regex
Regular expression pattern defining what qualifies as a hotword.
proximity google.cloud.dlp_v2.types.CustomInfoType.DetectionRule.Proximity
Range of characters within which the entire hotword must reside. The total length of the window cannot exceed 1000 characters. The windowBefore property in proximity should be set to 1 if the hotword needs to be included in a column header.