Pattern validation for commonly used names
Collibra DQ supports pattern validation for some commonly used IDs and names. You can override these patterns in the owl-env.sh file for Standalone or the Web ConfigMap for Cloud Native by replacing the default values using a RegEx for the following env variables:
| Env variable | Variable name | Default | Usage |
|---|---|---|---|
| VALIDATION_PATTERN_NAME_ID | Name ID pattern | Alphanumeric characters (letters and digits) and underscores (_). | For overriding defaults of Name IDs in Collibra DQ. |
| VALIDATION_PATTERN_COMMON_NAME | Common name | Alphanumeric characters (letters and digits) and underscores (_). | For overriding defaults of common names used in Collibra DQ. |
| VALIDATION_PATTERN_SCHEMA_NAME | Schema name | Alphanumeric characters (letters and digits) and underscores (_). | For overriding defaults of connection schema names in Collibra DQ. |
| VALIDATION_PATTERN_CONN_NAME | Connection name | Alphanumeric characters (letters and digits), underscores (_), and hyphens (-). | For overriding defaults of connection names in Collibra DQ. |
| VALIDATION_PATTERN_DATASET_NAME | Dataset name | Alphanumeric characters (letters and digits), underscores (_), and hyphens (-). | For overriding defaults of dataset names in Collibra DQ. |
| VALIDATION_PATTERN_FILE_NAME | File name | Alphanumeric characters (letters and digits), underscores (_), hyphens (-), periods (.), backslashes (/), and spaces ( ). | For overriding defaults of file name usages in Collibra DQ. |
| VALIDATION_PATTERN_LDAP_DN | DN | Comma separated key value pair with both the key and value consisting of lowercase letters, digits, and hyphens. | For overriding defaults of LDAP DN usages in Collibra DQ. |
Example If you want to override the default that does not allow spaces in the connection name, set the connection name variable to the following RegEx: VALIDATION_PATTERN_CONN_NAME=^[a-zA-Z0-9_- ]+$