DataMasque Warnings
This document describes warnings that DataMasque may generate in the course of normal masking runs, and, how to disable them (if they can be disabled).
Multiple Rules Warning
This warning is displayed if a table or column is masked by more than one rule in a single ruleset, which may indicate that a rule was mistakenly included more than once.
Example
The following tables are configured to be masked multiple times by `mask_table` tasks in the ruleset: …
The following columns are configured to be masked multiple times in the ruleset: …
To Disable
Add disable_warning_on_duplicate_rules: true
at the top level of the ruleset.
Glacier Files Warning
On Amazon S3, when masking files or performing a file discovery run, this warning will be shown if a file has been archived with S3 Glacier.
For file masking, this means the file will not be copied to the destination connection. For discovery, it means that DataMasque will not be able to determine if the file contains sensitive information.
Example
Skipping masking file "archived_with_glacier.csv":
files archived with Glacier can not be masked.
To Disable
Add disable_warning_on_glacier_storage: true
at the top level of the ruleset.
Use Of Conditionals Warning
Displayed when using conditional masking features that may leave some data unmasked.
For example, skip
, where
and if
/else
.
Example
Use of the conditional masking features `where`, `skip`, or `if`/`else`,
may mean your masking rules are not applied to some database rows or values.
To Disable
Add disable_warning_on_use_of_conditionals: true
at the top level of the ruleset.
Missing Unique Index Warning
For mask_unique_key
tasks, the key column(s) being masked are expected to have a unique index.
If a unique index does not exist, then DataMasque will temporarily create one for the duration of the masking run,
and will issue a warning that one was created.
Example
Unique requirement for specified key could not be validated,
as no adequate unique index is found for key column: …
To Disable
Add disable_warning_on_missing_unique_index: true
to the mask_unique_key
task to disable the warning for that task.
DataMasque will silently add the unique index during masking, without showing a warning.
Alternatively, add a unique key/index to the keys(s) before beginning the masking task.
Skipped Character Classes Warning
When using a from_unique_imitate
mask,
if either of the skip_letters
or skip_digits
parameters are specified true
,
a warning is shown to let you know that the configuration will leave some data unmasked.
Example
No letters will be masked.
If the column to be masked only contains letters, nothing will be masked.
No digits will be masked.
If the column to be masked only contains digits, nothing will be masked.
To Disable
Add disable_warning_on_skipped_characters: true
as a parameter to the from_unique_imitate
mask.