Skip to content

Set up the Rules

Rules let you apply policies — today: PII Redaction — across many automations at once, instead of configuring each deployment individually. Open the Rules tab in the Agent Control Plane to manage them.

Rules list

Each rule card shows the name, description, the scope the rule applies to (selected tools and tags), and a count of engaged automations — deployments that currently match the scope. The toggle on the right enables or disables the rule without deleting it.

  • The Agent Control Plane feature must be enabled for your organization. See Overview — Requirements.
  • The manage RBAC permission on Agent Control Plane is required to create, edit, toggle, or delete rules. The read permission is enough to view them.
  • All rule changes are versioned for auditing.
TypeWhat it does
PII RedactionApplies PII redaction to executions of every matching automation, using the same entity catalog and custom recognizers documented in PII Redaction for Traces.

More rule types will be added over time.

Rule edit side panel with conditions and PII mask type
  1. Open the editor

    Click + Create new at the top-right of the Rules tab, or View Details on an existing rule card.

  2. Name and describe the rule

    Give the rule a clear name (e.g. Mask PII (CC)) and a description explaining when it applies. Both show up on the rule card and in the Engaged Automations modal.

  3. Pick the type

    Today only PII Redaction is available.

  4. Set the conditions

    Conditions decide which automations the rule engages with. Both are optional and use set-equality semantics:

    • Tools — only automations whose tool set exactly matches the selected tools will engage. Picks from Studio apps, MCPs, OSS tools, and Tool Repository registry tools.
    • Automations — only automations whose tag set exactly matches the selected tags will engage.

    Leaving a picker empty means “no filter on this dimension”. Leaving both empty means the rule applies to every automation in the organization.

  5. Configure the PII Mask Type table

    Check each entity type you want covered and choose Mask (replaces with the entity label, e.g. <CREDIT_CARD>) or Redact (removes the matched text entirely). See PII Redaction for Traces for the full entity catalog and how to add organization-level custom recognizers.

  6. Save

    The rule applies to future executions of every engaged automation as soon as you save. No re-deploy is needed.

Click Engaged N automations on any rule card to see exactly which deployments the rule is currently matching, along with each one’s last execution.

Engaged automations modal

This is the fastest way to sanity-check a rule’s scope before enabling it — for example, to confirm that a rule scoped to the production tag isn’t accidentally matching a staging deployment.

PII Redaction can be configured in two places:

  • Per-deployment — under Settings → PII Protection on each individual deployment (guide)
  • Org-wide — as a Rule on this page

When an enabled org-wide rule’s scope matches a deployment, the rule’s entity configuration overrides the deployment-owned PII settings for that deployment’s executions — the rule becomes the single source of truth while it’s attached. Disable or detach the rule (or change its scope so it no longer matches) and the deployment falls back to its own PII Protection settings.

Prefer org-wide rules when you want to enforce a consistent policy across many deployments; reserve per-deployment configuration for one-off exceptions.

Need Help?

Contact our support team for help designing rules for your organization.