This filter identifies custom text based on a given regular expression.
The Identifier filter accepts a list of regular expression-based identifiers. See the policy at the bottom of this page for an example.
Note that backslashes in the regular expression will need to be escaped for the policy to be valid JSON.
This filter has no required parameters.
When set to false, the filter will be disabled and not applied
A list of terms to be ignored by the filter.
When set to true, the regular expression will be case sensitive.
Used to apply an arbitrary label to the identifier, such as "patient-id", or "account-number."
A regular expression for the identifier. Note that backslashes will need to be escaped.
The filter may have zero or more filter strategies. When no filter strategy is given the default strategy of
REDACT is used. When multiple filter strategies are given the filter strategies will be applied in as they are listed. See Filter Strategiesfor details.
Replace the sensitive text with a placeholder.
Replace the sensitive text with a similar, random value.
Replace the sensitive text with a given value.
Replace the sensitive text with its encrypted value.
Replace the sensitive text with its SHA256 hash value.
Replace the sensitive text with just the last four characters of the text.
Each filter strategy may have one condition. See Conditions for details.
Compares the value of the sensitive text.
Compares the filtering context.
Compares the confidence in the sensitive text against a threshold value.
Compares the classification of the sensitive text.