Skip to content

Custom Filter

Regex rules for the things only you can define: internal codes, project names, credentials, infrastructure details.

Runs on

Chat inbound and chat outbound. In the dashboard the check is labelled Custom Regex.

Denylist

A denylist pattern blocks any content that matches it.

Use Examples
Proprietary information Internal codes, project names, confidential identifiers
Credentials and secrets API keys, tokens, passwords, database connections
System infrastructure Internal paths, server configs, network details

The card lists the patterns with their state and says how many are on. Configure opens one dialog holding the pattern list and the block message. Each pattern has a name and can be enabled or disabled on its own. The patterns are matched as written and do not affect any other check.

Exempting text from the PII check

A Custom Filter pattern never overrides PII blocking. To exempt text from the PII check, use the PII Scanner's own Allowlist. It affects the PII check only: Content, Language, Prompt Injection and the Custom Filter read the full text.

The pattern list and the block message.

Why regex

A pattern match is the cheapest check in the stack and runs before anything has to be inferred. It is a fast first line of defense for content whose shape you already know.