DataMasque Portal

Unstructured Ruleset Builder

Iterate on unstructured_text rulesets interactively. The Unstructured Ruleset Builder page is useful for tuning your masks, labels, and matchers, and identifying how entities will be detected and masked.

Select Unstructured Ruleset Builder in the sidebar.

Unstructured Ruleset Builder

How to use it

  1. Click Load examples for a ready-made config, or paste your own unstructured_text mask config into the editor.
  2. Paste one or more texts to mask.
  3. Click Mask Texts.

The same mask config is applied to every text, in parallel. The masked output highlights each detected entity.

  • Hover over a highlighted text to view its label.
  • Click the input text to edit it.
  • A label in matchers but missing in masks will be masked with from_fixed: "[LABEL]".

Limitations

  • Requires a license that includes unstructured masking (see Unstructured masking availability).
  • Up to 10 texts per preview.
  • Up to 30,000 characters per text.
  • Matchers and sub-masks that need a database or file connection are unsupported: the context_sources matcher and the from_column, from_unique, secure_shuffle, and from_blob sub-masks. To use those, run the ruleset as a normal masking job.
  • Not every license type includes the builder (see Unstructured masking availability). It does not require In-Flight Masking. See Licensing.

Note: If a masking job using ai_detect is running while you preview, the AI Engine may be slower to respond. For quick results, wait for the run to finish before previewing.

Note: Once the requests of previews could not reach the AI Engine for two minutes in all, or got no answer from it for ten minutes in all, with no answer in between, it is unreachable for the builder: Mask Texts fails at once with an error that names the AI Engine URL, instead of waiting for it. Two minutes later, the builder sends the engine requests again. A request that reached the engine but got no answer, as from a busy engine or a proxy's 504 gateway timeout, counts toward the ten minutes but not the two.

Privacy notes

  • Pasted text is sent to the configured AI Engine for processing but is not written to DataMasque's database or audit log.
  • The preview does not count against masking-job quotas.