Skip to content

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.

ActionAreaMin. access level
Viewing the pageApplicationsRead
Application policiesRead
Adding a new pattern, editing the existing onesApplicationsRead
Application policiesEdit
Deleting a patternApplicationsRead
Application policiesFull
Editing an application from the headerApplicationsEdit
Deleting an application from the headerApplicationsFull
Updating the application profileApplicationsEdit
Application policiesEdit
Protection profilesRead

If the user does not have access to view the page, 403 — Access denied is displayed.

  1. In the sidebar, select Applications.
  2. Open the required application by clicking its card or its name, depending on the selected view.
  3. Hover over the Protection tab.
  4. Click Blacklists.

Navigating to the Blacklists section

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.

Blacklists - editing the application

  1. Click Edit.
  2. Change the required fields.
  3. Click Save.

Blacklists - deleting the application

  1. Click Delete.
  2. 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.

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:

  1. Click the Profile button.
  2. Select the required profile from the list. The search field helps narrow the list.
  3. Confirm applying the profile to the application in the confirmation dialog.

Blacklists - profile

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 prompts

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.

Blacklist files

Select Add pattern in the appropriate section and complete the form:

  1. Name — the label displayed in the list.
  2. Pattern — a regular expression or another supported pattern expression.
  3. Direction — Input for user requests or Output for model responses.
  4. Enabled — activates the rule immediately after creation.
  5. 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.

Blacklists - Add new pattern form

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.