Create a data privacy technique configuration

task brazil Updated Sep 10, 2026 2 min read config-dp-technique.md
Raw file servicenow.com

Create a data privacy technique configuration to customize how data privacy anonymizes your data.

Before you begin

Role required: data_privacy_admin and admin

Procedure

  1. Elevate to the data_privacy_admin role.

    For details on role elevation, see Elevate to a privileged role.

  2. Navigate to System Security > Data Privacy > Privacy Technique Configuration.

  3. Click New.

  4. In the Name field, enter a name for your privacy technique configuration.

  5. In the Privacy Technique field, select a privacy technique.

Technique

Description

No Action

This technique is a placeholder. It does not modify fields when selected.

Random Replace

This technique swaps values with randomly generated values. String and Number data can use this technique.

Selective Replace

This technique does a selective replace of String data. All characters between the input's start and end indices are replaced with the character you choose. You can specify characters to exclude from masking:- start_index: Technique masks data starting at the specified character. If left blank, masking begins with the first character.

  • end_index: Technique masks data from the start of the string to the specified character. If left blank, masking ends with the last character.
  • exclude_char: Define a character to exclude from masking.
  • replacement_char: Define a character used for masking. If none is provided, asterisks(*) are used by default.

Static Replace

This technique swaps values with static values. String, Number, and Date data can use this technique:- date_time_value: Replace Date values with this date. Use the yyyy-MM-dd HH:mm:ss format.

  • date_value: Replace Date values with this date. Use the yyyy-MM-dd format.
  • number_value: Replace Number values with this number.
  • string_value: Replace String values with this text.

Remove

This technique removes values, replacing them with empty (null) values.

**Note:** Previously supported value **Replace** is deprecated and renamed **Replace-Deprecated** and should not be used.
  1. Right-click the header and click Save in the context menu.

    After the record is saved, the Privacy Parameterized Values list appears.

  2. Use the records in the Privacy Parameterized Values list to customize your data privacy technique configuration.

    The available parameterized values depend on which privacy technique you have selected. There are no parameterized values for the No Action and Remove techniques.

    Privacy Technique Parameter value Description Default value
    char_to_replace Character to use when replacing values using a selective replace. *
    end_index Technique masks data from the start of the string to the specified character. If left empty, masking ends with the last character. (Empty)
    exclude_char Character to skip masking. Only a single character can be used in this value. If more than one is entered, the first character is used. (Empty)
    start_index Technique masks data starting at the specified character. 1
    Privacy Technique Parameter value Description Default value
    date_time_value Replace date and time values with this date. Use the yyyy-MM-dd HH:mm:ss format. 1988-11-11 10:10:10
    date_value Replace date values with this date. Use the yyyy-MM-dd format. 1988-11-11
    number_value Replace Number values with this number. 1234567
    preserve_data_length Set to true to preserve data length. De-identified data will have the same length as the original data. true
    string_value Replace String values with this text. TEXT123
    use_random_generated_value Set to true to replace data with randomly generated values. Only String and Number data can be replaced with random values. This option overrides static values. false
  3. Click Save.

Search documentation
Search document titles and file paths on the brazil branch