Blacklists
HiveTrace supports blacklists — regex patterns for detecting matching messages or filenames; when one is detected, the message is automatically marked as a violation. Blacklists are configured separately for messages and files.
Required permissions
Section titled “Required permissions”| Action | Area | Min. access level |
|---|---|---|
| Viewing the page | Applications | Read |
Application policies | Read | |
| Adding a new pattern, editing the existing ones | Applications | Read |
Application policies | Edit | |
| Deleting a pattern | Applications | Read |
Application policies | Full | |
| Editing an application from the header | Applications | Edit |
| Deleting an application from the header | Applications | Full |
| Updating the application profile | Applications | Edit |
Application policies | Edit | |
Protection profiles | Read |
If the user does not have access to view the page, 403 — Access denied is displayed.
Opening the Blacklists section
Section titled “Opening the Blacklists section”- In the sidebar, select Applications.
- Open the required application by clicking its card or its name, depending on the selected view.
- Hover over the Protection tab.
- Click Blacklists.

The page header displays the application’s name, ID, and description (if any). The copy button is available next to the ID. The header also contains the Back to applications link that leads to the Applications section.
Editing the application
Section titled “Editing the application”
- Click
Edit. - Change the required fields.
- Click
Save.
Deleting the application
Section titled “Deleting the application”
- Click
Delete. - Confirm the deletion in the confirmation dialog.
This action cannot be undone. Prior to deletion, please verify that integration traffic has been stopped or redirected and that the associated API tokens are no longer in use.
Profile
Section titled “Profile”If a profile is selected, its name is displayed. If no profile is selected, individual settings are applied. When the application’s protection settings are changed, the application is removed from the profile, and the current settings become individual.
The profile can be updated on the page:
- Click the
Profilebutton. - Select the required profile from the list. The search field helps narrow the list.
- Confirm applying the profile to the application in the confirmation dialog.

Blacklist prompts
Section titled “Blacklist prompts”Patterns in this section are applied to message text. Each card contains the pattern name, an Enable switch, an information button, and a ⋮ menu for editing or deletion.
Select Add pattern to create a rule. A disabled pattern remains saved but is not used during checks.

Blacklist files
Section titled “Blacklist files”For example, a pattern matching confidential detects confidential.pdf, but does not search for this word inside report.pdf. Use DataClean file processing to detect sensitive data in extracted file contents. Blacklists do not mask file contents.
The Blacklist files section works in the same way, but applies its patterns to the names of files attached to a request or response. Individual rules can be enabled or disabled, inspected, edited, or deleted.

Adding a pattern
Section titled “Adding a pattern”Select Add pattern in the appropriate section and complete the form:
- Name — the label displayed in the list.
- Pattern — a regular expression or another supported pattern expression.
- Direction — Input for user requests or Output for model responses.
- Enabled — activates the rule immediately after creation.
- Save — creates the pattern. The × button closes the form without saving.
Test the expression on representative data before enabling it. An overly broad pattern can cause false positives.

Verifying the result
Section titled “Verifying the result”After saving the settings, send a test request through the connected application. Trigger results are available in Session Analytics: open a record and go to the Censors or Validation Configuration sections. For synchronous protected integrations, a violation may also result in the request being blocked.