Cisco Secure Access Help

PDF

Cisco Secure Access Help

Add an AI Guardrails Rule to the Data Loss Prevention Policy

Want to summarize with AI?

Log in

Provides instructions for completing the Add an AI Guardrails Rule to the Data Loss Prevention Policy workflow in Cisco Secure Access. HTTPS Inspection must be enabled either on the default Access policy, or at least one access policy rule where the same identity is configured in an AI guardrails rule.


AI guardrails rules operate within the data loss prevention policy to monitor prompts or response content exchanged with AI application, including uploaded files. The rules define what types of data to monitor, and whether content should be blocked or only monitored.

An AI Guardrails rule must have at least one of the following two criteria defined:

  • Data Classifications — Include files that match data classification of your own making or a built-in data classification provided by Secure Access.

  • File Labels — Include files that have specific file label names configured in the value of the files' document properties, or include files that have no file labels configured. (You cannot select both of these criteria in a single rule.) Secure Access scans for file labels on the following file types: .doc, .pdf, .rtf, .xls, .ppt, .odp, .ods, .odt, .pptx, .xlsx, .docx, and .eml.

  • File Size — Include files that meet custom size criteria.

  • File Type — Include files that have a specific file type.

Before you begin

  • HTTPS Inspection must be enabled either on the default Access policy, or at least one access policy rule where the same identity is configured in an AI guardrails rule. For example, if the resource "Network A" is configured for an AI guardrails rule, it must also be configured for an access policy rule where HTTPS is enabled. For more information, see Manage Traffic Decryption and Manage Security Profiles.

  • Full Admin user role. For more information, see Manage Accounts.

Procedure

  1. Create the AI Guardrails rule and establish general settings.

  2. Select Data Classifications to apply to the rule.

  3. Make Files Control selections for the rule

  4. Select Identities to apply to the rule.

  5. Select Destinations to include for the rule.

  6. Select an Action to be performed when data matches the rule.

  7. For any destination you can enable and configure pop-up notifications for violations.

  8. For any destination you can enable and configure an email notification to be sent to users when a violation occurs.


Create a DLP AI Guardrails Rule Step 1 — Establish General Settings

This is the first step in the process to add a AI Guardrails rule to a DLP policy, in which you create the rule and establish its basic characteristics.

Before you begin

  • HTTPS Inspection must be enabled either on the default Access policy, or at least one access policy rule where the same identity is configured in an AI guardrails rule. For example, if the resource "Network A" is configured for an AI guardrails rule, it must also be configured for an access policy rule where HTTPS is enabled. For more information, see Manage Traffic Decryption and Manage Security Profiles.

  • Full Admin user role. For more information, see Manage Accounts.

Procedure

  1. Navigate to Secure > Policy > Data Loss Prevention Policy, click Add Rule, and choose AI Guardrails Rule.

  2. Under Add New AI Guardrails Rule, give your rule a meaningful name and description.


    Add New AI Guardrails Rule page with input fields for rule name and description
  3. Choose a severity for your rule based on the risk involved or importance within the ruleset.


    Severity section with option to select the severity level

Create a DLP AI Guardrails Rule Step 2 — Select Data Classifications

This is the second step in the process to add a AI Guardrails rule to a DLP policy, in which you select the data classifications to apply to the rule.

Before you begin

  • HTTPS Inspection must be enabled either on the default Access policy, or at least one access policy rule where the same identity is configured in an AI guardrails rule. For example, if the resource "Network A" is configured for an AI guardrails rule, it must also be configured for an access policy rule where HTTPS is enabled. For more information, see Manage Traffic Decryption and Manage Security Profiles.

  • Full Admin user role. For more information, see Manage Accounts.

Procedure

In the Data Classifications section select AI guardrails classifications to apply this rule. You can choose a guardrails classification of your own making, or a built-in guardrails classification provided by Secure Access. (For more information, see Manage AI Guardrails Data Classifications.) Hover over PREVIEW to view data identifiers associated with each AI guardrails classification.

Data Classifications section with an option for selecting AI guardrails classifications to apply this rule

Create a DLP AI Guardrails Rule Step 3 — Select Files Controls

This is the third step in the process to add a AI Guardrails rule to a DLP policy, in which you select the files controls to apply to the rule.

In the Files Control area, choose the file filters to apply to this rule. You can apply filters for:

  • Specific File Labels, or files that have no file labels associated with them. (You cannot select both of these criteria in a single rule.)

  • File Size

  • File Type

Before you begin

  • HTTPS Inspection must be enabled either on the default Access policy, or at least one access policy rule where the same identity is configured in an AI guardrails rule. For example, if the resource "Network A" is configured for an AI guardrails rule, it must also be configured for an access policy rule where HTTPS is enabled. For more information, see Manage Traffic Decryption and Manage Security Profiles.

  • Full Admin user role. For more information, see Manage Accounts.

Procedure

  1. Choose File Labels.

    Add up to 10 case-sensitive file label names to apply to this rule. The rule searches for configured file label names in the files' document properties. This includes Microsoft Office Sensitivity Labels and Adobe PDF Document Properties. For Microsoft Office Document Properties (or Titus labels) , this includes only the Label Value field in the custom document properties.

    Secure Access can scan for file labels on the following file types: .doc, .pdf, .rtf, .xls, .ppt, .odp, .ods, .odt, .pptx, .xlsx, .docx, and .eml.

    Note
    You can configure an AI Guardrails rule with data classifications, file labels, or both. When a rule is configured with both, then a DLP event is raised when any of the selected data classifications and when any of the configured file labels are detected in an inspected file.
    Including Files by File Labe
    Note
    Secure Access currently supports detection of Microsoft sensitivity labels in the file properties' values of the inspected file for Microsoft Word, Excel, PowerPoint, and PDF files. Ensure you configure the rule with the name of the sensitivity labels, not the Display Names.
  2. Choose File Size criteria for the rule.

    The File Size area has two use cases:

    • In a rule that specifies a custom file size but no other criteria, DLP applies the rule action to files that match the file size criteria, regardless of content. (This may be useful in situations where you want to exclude certain low-risk files below a certain size from inspection, so as not to waste processing time on insignificant events.)

    • In a rule that specifies a custom file size along with other criteria such as Data Classification, the DLP applies the rule action to files that match the other criteria within the file size specified up to the first 50 MB of plain text. (Secure Access does not scan file content beyond the first 50 MB regardless of the file size specified here.)

    In the File Size area choose from two options:

    • To scan up to the first 50 MB of plain text of all files that meet other criteria defined by this rule, enable the File Size toggle and do not select custom sizes. (A rule that uses this option must also specify Data Classifications.)

    • To specify the minimum and maximum size limits the system will scan for files that meet other inclusion criteria defined by this rule, if there are any, enable the File Size toggle and select custom size values. If the file size exceeds the first 50 MB of the file, Secure Access scans only up to the first 50 MB of plain text in the file. (I.e., if you specify a minimum file size greater than 50 MB, Secure Access will not scan for other criteria specified in the rule.)

      You can choose to apply the rule action only to files that are greater than a minimum size you specify, or to files that are within a range of sizes you specify. (If you specify a maximum size without specifying a minimum size, the minimum size defaults to 0.) You can specify file sizes in KB or MB.

    Including files by file size
  3. In the File Type area, configure the rule to include specific file types or to exclude specific file types.

    1. Click the toggle to enable file type filtering.
      Including files by file type
    2. To include file types, use the search box to search for file types or browse within the lists for file types. Check the boxes for the file types to include individually or by group. Selected file types appear on the right.
      Selecting specific file types to include in Real Time DLP rule
    3. To exclude file types, check Select the file type for exclusion check box.

      In Excluded File Types section, use the search box to search for file types or browse within the lists for file types. Check the boxes for file types to exclude individually or by group. Selected file types appear on the right.

      Selecting file types to be excluded from Real Time DLP rule
  4. In the Unclassified Files area, click the toggle to include that have no labels associated with them.

    This includes Microsoft Office Sensitivity Labels and Adobe PDF Document Properties. For Microsoft Office Document Properties (or Titus labels) , this includes only the Label Value field in the custom document properties.

    Secure Access can scan for file labels on the following file types: .doc, .pdf, .rtf, .xls, .ppt, .odp, .ods, .odt, .pptx, .xlsx, .docx, and .eml.

    Note
    You can configure an AI Guardrails rule with data classifications, absence of file labels, or both. When a rule is configured with both, then a DLP event is raised when any of the selected data classifications are detected in an inspected file that has no file labels.
    Including files with no labels.

Create a DLP AI Guardrails Rule Step 4 — Select Identities

This is the fourth step in the process to add a AI Guardrails rule to a DLP policy, in which you select the identities to apply to the rule.

Before you begin

  • HTTPS Inspection must be enabled either on the default Access policy, or at least one access policy rule where the same identity is configured in an AI guardrails rule. For example, if the resource "Network A" is configured for an AI guardrails rule, it must also be configured for an access policy rule where HTTPS is enabled. For more information, see Manage Traffic Decryption and Manage Security Profiles.

  • Full Admin user role. For more information, see Manage Accounts.

Procedure

In the Identities section, select Identities to apply to this rule.
  • Select entire identity categories to include, or expand categories to select individual identities. Search for user name or by group name. Selected identities will appear in the box on the right.

    Note
    It is not possible to search for an application with fewer than three letters in its name—for example, "QQ" or "YY." These applications must be manually selected from the hierarchy under their respective categories, or wildcarded in search—for example, "QQ*". This behavior is by design.

    Identities section with option for selecting the desired identities for the rule
  • Select Select identities for exclusion to exclude selected identities. Similarly to selecting identities for inclusion, you can select entire identity categories to exclude, or expand categories to select individual identities. Search for user name or by group name. Selected identities will appear in the box on the right.

Note
When an identity is selected for both inclusion and exclusion in a rule, it will automatically be excluded. Excluded identities always override included identities. Similarly, if an identity category is included on both an inclusion list and an exclusion list, the identity category will be excluded.

Create a DLP AI Guardrails Rule Step 5 — Select Destinations

This is the fifth step in the process to add a AI Guardrails rule to a DLP policy, in which you select the destinations to apply to the rule.

Before you begin

  • HTTPS Inspection must be enabled either on the default Access policy, or at least one access policy rule where the same identity is configured in an AI guardrails rule. For example, if the resource "Network A" is configured for an AI guardrails rule, it must also be configured for an access policy rule where HTTPS is enabled. For more information, see Manage Traffic Decryption and Manage Security Profiles.

  • Full Admin user role. For more information, see Manage Accounts.

Procedure

Under Destinations, expand the destination categories and and check the boxes for the applications you want to add to the rule. You can search for an application by entering at least three consecutive letters from the application name in the search box.
Note
It is not possible to search for an application with fewer than three letters in its name—for example, "QQ" or "YY." These applications must be manually selected from the hierarchy under their respective categories, or wildcarded in search—for example, "QQ*". This behavior is by design.

For each application (except Microsoft Copilot), you can scan one of three traffic options: Prompt (from your system to the AI application), Response (from the AI application to your system), or Prompt & Response.

Tip

At this time, Microsoft Copilot is only supported in the Prompt direction.


Destinations section with an option to select an application for the rule

Create a DLP AI Guardrails Rule Step 6 — Select the Rule Action

This is the sixth step in the process to add a AI Guardrails rule to a DLP policy, in which you select an Action to be performed when data matches the rule.

Before you begin

  • HTTPS Inspection must be enabled either on the default Access policy, or at least one access policy rule where the same identity is configured in an AI guardrails rule. For example, if the resource "Network A" is configured for an AI guardrails rule, it must also be configured for an access policy rule where HTTPS is enabled. For more information, see Manage Traffic Decryption and Manage Security Profiles.

  • Full Admin user role. For more information, see Manage Accounts.

Procedure

Under Action, from the drop-down list, choose Monitor or Block.
  • Monitor—Monitor file uploads and data submitted in web forms.

    The rule will search for content that matches supported workflows (See Supported Applications) and policy-configured destinations and identities.

  • Block—Block file uploads and data submitted in web forms.

    The rule will search for content that matches supported workflows (See Supported Applications) and the policy-configured destinations and identities. When content matches these workflows, the rule blocks the content.


    Action section with an option to monitor or block content for this rule

Create a DLP AI Guardrails Rule Step 7 — Enable and Configure Pop-Up Notifications for Violations

This is the seventh step in the process to add a real time rule to a DLP policy, in which you may optionally select to display a pop-up notification for endpoints when data matches the rule.

Before you begin

  • HTTPS Inspection must be enabled either on the default Access policy, or at least one access policy rule where the same identity is configured in an AI guardrails rule. For example, if the resource "Network A" is configured for an AI guardrails rule, it must also be configured for an access policy rule where HTTPS is enabled. For more information, see Manage Traffic Decryption and Manage Security Profiles.

  • Full Admin user role. For more information, see Manage Accounts.

Procedure

  1. Under User Notifications, you can enable the Pop up Notifications option to display pop-up notifications of violations to the end user.

    Note
    If you have no real time rules with at least one endpoint channel selected under Destinations, the Pop up Notification option remains disabled.
    Note
    If you choose Allow override with business justification under Action Advanced Settings, the Pop up Notification option is automatically enabled and cannot be disabled.
    User Notifications section with an option to enable pop-up notifications
  2. Define the message to appear in the pop up dialog when files match a rule.

    • To use the default Pop Up Template:

      1. Click Default Notification.

      2. To preview the content of the pop up text, click on Preview Default Notification. You can review the text, but you cannot change it.

        Preview default pop-up message displaying the heading and message body
      3. Click CLOSE to close the preview.

    • To use a Custom Pop Up Template:

      1. Click Custom Notification.

      2. From the drop-down list, select an existing custom template, or choose CREATE NEW TEMPLATE. If you select an existing custom template, you can click Preview and Edit Custom Notification to review and change the template.

        User Notifications page showing options to create and edit custom pop ups
      3. When you choose to create or edit a custom template for pop up text you will see one of these two dialogs, which are almost identical:

        View New Custom Pop-up Template and Edit Custom Pop-up Template pages

        The Edit Custom Pop-up Template dialog includes a DELETE link which you can use to delete a custom template that is no longer needed. You cannot delete a template that is in use by any rule.

        To create a new template or change an existing template:

        1. Enter a unique Custom Template Name.

        2. Enter the heading text for the pop up in the Heading text box.

        3. Enter the message text for the pop up in the Message Body text box.

        4. Click SAVE to complete the changes.


Create a DLP AI Guardrails Rule Step 8 — Enable and Configure Email Notifications for Violations

This is the seventh and final step in the process to add a AI Guardrails rule to a DLP policy, in which you may optionally select to configure and enable email notifications to send users when data matches the rule.

Before you begin

  • HTTPS Inspection must be enabled either on the default Access policy, or at least one access policy rule where the same identity is configured in an AI guardrails rule. For example, if the resource "Network A" is configured for an AI guardrails rule, it must also be configured for an access policy rule where HTTPS is enabled. For more information, see Manage Traffic Decryption and Manage Security Profiles.

  • Full Admin user role. For more information, see Manage Accounts.

Procedure

  1. Under User Notifications you can enable and configure an email notification to be sent to a user who performs an action that triggers a violation of the rule. You can use a default email template provided by the system, or create your own custom template.

    1. Note

      The system gets the "send to" address for the email from UPN field in the authenticated active directory. Some identity configurations may not be able to provide the end user's email address, in which case the system will be unable to send the email. These cases include:

      • The user uses network or tunnel identities, in which case the user's IP address will be available to the system, but not the email address.

      • The user did not authenticate through active directory, so the system has no information about the user.

      • The user's email address is not stored in the UPN field in the authenticated active directory.


      The User Notifications Disabled interface.
      1. Enable user notifications.


        User Notifications section with an option to enable email notifications
      2. Choose the email template:

        To Use the Default Email Template:

        1. Click Default Email.

        2. To preview the content of the email that will be send to users, click on Preview Default Email. You can review the email subject line and text, but you cannot change it.


          Preview Default Email section displaying the email subject line and content
        3. (Optional) To send a test copy of the email to an address of your choosing, enter an address in Preview Test Email and click SEND PREVIEW to send the message. (By default the system uses the email address of the logged in user.)

        4. Click CLOSE to return to the Data Loss Prevention Policy page.

        To Use a Custom Email Template:

        1. Click Custom Email.

        2. From the drop down menu, select an existing custom template, or choose CREATE CUSTOM TEMPLATE. If you select an existing custom template, you can click Preview and Edit Custom Email to review and change the template.


          User Notifications page showing an option to preview and edit custom email
        3. When you choose to create or edit a custom template for email notifications of policy violations you will see one of these two dialogs, which are almost identical:


          View New Custom Email Template and Edit Custom Email Template pages

          The Edit Custom Email Template includes a DELETE link which you can use to delete a custom template that is no longer needed. You may not delete a template that is in use by any rule.

          To create a new template or change an existing template:

          1. Enter a unique Custom Email Template Name.

          2. Enter an Email Subject Line.

          3. Enter the text of the email in the Email Body text box.

            The email text can include the following variables, which you must enclose in braces ( {} ):

            • {eventId} - The unique identifier the system generates for the policy violation event.

            • {detectedTimestamp} - The date and time the violation was detected, formatted as shown in this example: "Oct 1, 2023 at 14:04 UTC"

            • {actorName} - Name of the user whose action triggered the violation. (Secure Access gets this information from the authenticated Active Directory.)

            • {actorEmail} - Email address of the user whose action triggered the violation. (Secure Access gets this information from the authenticated Active Directory.)

            • {fileName} - Name of the data file that triggered the violation.

            • {ruleName} - Name of the rule that was triggered.

            • {matchedClassifications} - The guardrails classifications associated with the violation. (See Manage AI Guardrails Data Classifications.)

            • {destination} - URL or IP address of the intended destination for the monitored request.

            Note
            The system replaces a variable with blank text if there is no value assigned to the variable or if an invalid variable name appears within the braces.
          4. (Optional) To send a test copy of the email to an address of your choosing, enter an address in Preview Test Email and click SEND PREVIEW to send the message. (By default the system uses the email address of the logged in user.)

          5. Click SAVE to return to return to the Data Loss Prevention Policy page.

  2. Click Save.

    Note
    All fields must have options selected to save.