IBAN Codes

This filter identifies IBAN (international banking account numbers) Codes such as HU4211773016111110180000000 in text.

Required Parameters

This filter has no required parameters.

Optional Parameters

Parameter Description Default Value
ibanCodeFilterStrategies A list of filter strategies.
enabled When set to false, the filter will be disabled and not applied. true
ignored A list of terms to be ignored by the filter.
allowSpaces When true, IBAN codes will be allowed to contain spaces and grouped in sections of 4. Set to false to disallow spaces in IBAN codes. true
onlyValidIBANCodes When set to true, only valid IBAN codes will be filtered. true

Filter Strategies

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 for details.

Strategy Description
REDACT Replace the sensitive text with a placeholder.
RANDOM_REPLACE Replace the sensitive text with a similar, random value.
STATIC_REPLACE Replace the sensitive text with a given value.
CRYPTO_REPLACE Replace the sensitive text with its encrypted value.
HASH_SHA256_REPLACE Replace the sensitive text with its SHA256 hash value.
LAST_4 Replace the sensitive text with just the last four characters of the text.

Conditions

Conditional Description Operators
TOKEN Compares the value of the sensitive text. ==, !=
CONTEXT Compares the value of the filtering context. ==, !=
CONFIDENCE Compares the value of the confidence of the sensitive text against a threshold value. <, <=, >, >=, ==, !=

Example Filter Profile

Below is a sample filter profile illustrating usage of this filter.

{
   "name": "iban-example",
   "identifiers": {
      "ibanCode": {
         "onlyValidIBANCodes": false,
         "ibanCodeFilterStrategies": [
            {
               "strategy": "REDACT",
               "redactionFormat": "{{{REDACTED-%t}}}"
            }
         ]
      }
   }
}