Guardrails
Guardrails prevent data leaks in the workspace by detecting secrets, personal data, and prohibited content in conversations and uploads.
Here are the available features:
Browse the tabs
Guardrails: the list of available detectors and their settings.
Alerts: incidents detected by guardrails. The number next to the tab shows unread alerts.
Available guardrails
API keys: known formats (AWS, OpenAI, GitHub, Google, Slack), JWTs, and PEM private keys.
Passwords and credentials: explicit passwords, connection strings, and authorization headers.
Entropy-based secrets: high-entropy tokens with no known format.
Personal data (LGPD): Brazilian CPF and CNPJ tax IDs and payment cards, with real validation; phone numbers and PIX keys (Brazil's instant payment system) are optional.
File extensions: blocks uploads by file extension (e.g., .env, .pem, .key).
File contents: applies the text detectors to the contents of uploaded files.
Prohibited terms: a workspace list of customer names, code names, and off-limits topics.
Sensitive information (AI): AI-assisted detection of sensitive information.
Turn on and configure a guardrail
To turn on a guardrail, follow these steps:
In the Guardrails tab, turn on the toggle next to the guardrail.
Click Configure to adjust its behavior.
Save your changes.
The badge next to the name shows the configured action mode:
Audit only: logs the incident without interrupting the user.
Notify and block: alerts the user and stops the content from being sent.
Create a custom guardrail
To detect a pattern specific to your company, follow these steps:
At the top of the page, click + Create guardrail.
In the Name field, enter a name for the guardrail.
In the Regular expression field, enter the pattern to detect. Example:
EMP-\d{6}to detect employee IDs in the format EMP-123456.Click Save.
Last updated
Was this helpful?
