Manage Policy

What is a Policy?

A policy represents a type of data (such as a credit card number) and an action to be performed when data matching that policy is sent to an AI provider.

Subrosa provides a list of common PII and PCI policies.

You can also define Custom Policies.

You can view all Policies from Policy page.

Currently, Subrosa only supports detection in text prompts. We're working on supporting file content detection, stay tuned.

Policy Action

You can use Policy Action to define the action taken when matching data is going to be sent to an AI provider.

Policy ActionControl

Detect (Default)

Detect data in traffic, no action is taken. The traffic will be flagged as suspicious.

Block

Block traffic to an AI provider when the policy matches.

Mask

Mask the data in traffic to an AI provider when the policy matches.

Allow

Allow traffic to pass to an AI provider when the policy matches.

Subrosa Policy

Subrosa provides a list of common PII and PCI policies.

By default, all Subrosa Policies are enabled in Detect mode, though you can customise the action that is taken.

You can also disable one or more of the Subrosa default Policies.

Custom Policy

You can create one or more Custom Policies based on your own data, by describing that data in our policy language and defining the action to be taken when a match occurs.

Create a Custom Policy

  1. Click Policy in the side menu

  2. Click Create Policy

  3. Supply the required information and the pattern to match on

  4. Select an action to be applied when the pattern matches

  5. Click Confirm

Update a Custom Policy

  • Click Policy in the side menu

  • Click on a Policy

  • Update Policy information and action

  • Click Confirm

Delete a Custom Policy

  • Click Policy in the side menu

  • Click on a Policy

  • Click Delete at the bottom and confirm your action

Disable a Policy

  1. Go to Policy Page by clicking

  2. Click on a Policy from Policy page

  3. Toggle Enable Policy on Policy Information section on the Configure Policy page.

  4. Click Confirm

Last updated