Redgate Test Data Manager

Ignoring items using a custom rule

A custom rule can be used to ignore items from a classification.

To create an ignore rule, create a custom classification rule as normal, but set its type to the special value of Ignore. Any items that match this rule will be ignored from classification.

Example to add a custom classification rule to ignore all string columns called 'username' Toggle source code

  1. {
  2. "classifications": {
  3. "custom": [
  4. {
  5. "type": "Ignore",
  6. "condition": "Column.Type is string AND Column.Name equals 'username'
  7. }
  8. ]
  9. }
  10. }

Didn't find what you were looking for?