Data rules and sensitivity labels

Mark data as sensitive, then create, test, and turn on data rules that redact or block it before it reaches AI or leaves your organization.

Manage Organization AI SnippetsManage Sensitive Data AccessUpdated in Intuidy 2026.11.1810 min read

A data rule stops sensitive data from reaching an AI model, leaving your organization, or landing in a downloaded file, and Intuidy enforces it rather than relying on an agent to comply. Use this page to mark data as sensitive, turn on rules that act on those markings, and restrict sensitive items by role.

Before you start

Mark data objects and columns

Data rules match on two kinds of marking: a sensitivity level, and a classification. A classification is a tag on a table or column, such as HIPAA or Payment card data.

  1. Go to Ontology → Data Objects.
  2. Find the data object and set its Sensitivity level.
  3. Select Open details.
  4. Under Governance, add a classification to the object.
  5. To tag a single column, choose a classification on that column.

Changes save automatically. The sensitivity level controls what an agent may quote from the object. To mark several objects at once, select them and choose Set sensitivity….

Two markings change what is sent to AI without any rule:

Define a classification

  1. Go to Ontology → Data Rules.
  2. Select Classifications.
  3. Select New classification.
  4. Enter a name.
  5. Under What it means, describe the data the tag covers, so the next person tags the right columns.
  6. Optionally, choose a level under Also suggests a sensitivity level.
  7. Select Add.

The suggested level is only offered when you tag something. It never changes a marking by itself. Renaming a classification keeps its ID, so rules and tagged columns that use it keep working. Used by shows what relies on each classification, and the ones Intuidy provides are marked Built in.

Add a detector

A detector recognizes a sensitive value in text. It catches what nobody tagged: a number pasted into chat, a field in an integration response, or a column added last week.

  1. Go to Ontology → Data Rules.
  2. Select Detectors.
  3. Select New detector.
  4. Enter a name, such as "Case number".
  5. Under How it finds things, choose a method and fill in its fields.
  6. Select Add.
MethodWhat you enterHow it matches
Words followed by a number (recommended)Words that introduce the value, comma separated, such as case number, case no, case #, and a digit range under Digits betweenOnly when a number of the right length follows the words nearby, so a passing mention of the phrase is not a match.
Pattern (advanced)A pattern, with options to ignore case and to let a dot match newlinesWherever the pattern matches. The pattern is checked before it is saved.

Renaming a detector keeps its ID, so rules that use it keep working.

Intuidy provides a recommended set of rules for health data, payment cards, Social Security numbers, and ID badge numbers. They are off until you turn them on, and until at least one rule is on, nothing is checked.

  1. Go to Ontology → Data Rules.
  2. On Rules, select Enable recommended pack.
  3. Read the warning, then select Turn them on.

Two of the recommended rules block rather than redact, which can fail agent runs and workflows that currently succeed. You can turn any of them off again individually. Each rule in the list shows Enforced or Not enforced. Deleting a recommended rule stops it from coming back, and the deletion can't be undone.

Create a data rule

  1. Go to Ontology → Data Rules.
  2. Select New rule.
  3. Enter a name, such as "No patient data to AI", and a description of why the rule exists.
  4. Under When it matches, choose what the rule does.
  5. Under Where it applies, select at least one place. A rule with no places to apply can never fire.
  6. Under What it matches, select at least one thing to match.
  7. Under If a payload is too large to scan fully, choose whether to let the data pass or block it.
  8. Select Create rule.

The rule appears on Rules with its action, where it applies, and what it matches. Check that it shows Enforced. Block messages refer to the rule by its rule ID, which the editor shows under the name. If a rule with the same ID already exists, edit that rule instead.

What the rule does

ActionWhat happens
RedactThe operation continues with the values masked. The agent is told what was withheld.
BlockThe operation fails and names the rule. This is the safest action and the most disruptive.
Require approvalA person approves each time, in agent chat.

For a rule that redacts, choose how the value is masked:

Nobody is watching a scheduled run, a workflow node, or a file download. In those places, a rule that requires approval takes the fallback action shown in the editor instead of asking.

What the rule matches

Match onWhat it covers
ClassificationsTables and columns tagged with the classifications you select.
Sensitivity already set on objects and fieldsThe sensitivity markings you already set in Data Objects. No re-tagging is needed.
DetectorsValues the selected detectors recognize in text, including data nobody tagged.
Specific objects (optional)Object keys, comma separated. A trailing colon matches everything beneath it: managed-db:3: covers every table in that database.

Payloads too large to scan

OptionWhat happens
Let it pass — enforce what was found, and record that the scan was incompleteThe rule acts on the matches it found. The event is recorded in Activity as Passed — scan incomplete.
Block it — data this rule could not finish checking does not passThe operation is blocked.

Test a rule

  1. Go to Ontology → Data Rules.
  2. Select Test.
  3. Under Paste something to check, paste sample text.
  4. Under Pretend it is going, choose where the text is headed.
  5. To test rules that are not enforced yet, select Include rules that are switched off.
  6. Select Check.

For example:

text
Patient Alex Rivera, SSN 123-45-6789, card 4242 4242 4242 4242

The result is one of Nothing matched, Would be redacted, Would need approval, or Would be blocked. What matched lists each match, and What the AI would actually receive shows the text after redaction. Nothing you enter is saved, logged, or sent to an AI.

Review what rules stopped

Go to Ontology → Data Rules and select Activity. Choose a period from Last 24 hours to Last 90 days.

The list shows every time a rule stopped or masked something, plus any payload that passed without a complete scan. Each row shows when it happened, the outcome, the rule, and where it fired. Outcomes are Blocked, Redacted, Sent for approval, and Passed — scan incomplete.

Values are never recorded. The list holds only which rule fired, where, and how many matches it found.

Restrict sensitive items by role

Marking a connection, integration, custom API endpoint, or node type as sensitive means reading or writing through it is decided by role.

  1. Go to Settings → Data Sensitivity.
  2. Under Sensitive items, choose a Kind of item: Connection, Integration, Custom API endpoint, or Node type.
  3. Choose the item. If a custom API endpoint isn't listed, enter part of its path or name in Narrow endpoints.
  4. Select Mark sensitive.
  5. Under Role access, choose a level for each role in the Sensitive data column.
LevelWhat the role can do with sensitive items
No accessNeither read nor write.
Read onlyRead through them.
Write onlyWrite through them.
Read & writeBoth.

A role with no level chosen shows either Not set — allowed for now or Not set — no access. The label states what applies to that role. System roles always have every access, and a company that doesn't use roles isn't restricted.

AIPI keys, the credentials other systems use to call AIPI, the Intuidy REST API, reach sensitive items only when the key's own settings allow it.

Troubleshooting

↳ Object registry ↳ What AI and agents receive ↳ Approvals and standing grants