AI Policy Rule Enforcement Guide

Overview

The Enforcement feature in AI Policy Rules brings automated, cross-platform control to how Responsible AI (RAI) policy rules are applied in customer environments. By extending OneTrust’s existing guardrail enforcement capabilities into AWS Bedrock, Azure AI Foundry, and Databricks, customers can now take direct action on AI agents that violate defined policy rules without relying on manual intervention or platform-specific workarounds. Instead of policy rules living in disconnected formats, organizations can centrally define governance rules in OneTrust and automatically enforce them across AWS Bedrock, Azure Foundry, and Databricks. This creates a consistent, customer-facing experience where AI risk mitigation is not just observable but actionable in real time.

For more information about managing AI policy rules, see AI Policy Rules Feature Guide.

To configure the guardrail enforcement

  1. On the AI Governance menu, select AI policy rules.

    The AI policy rules screen appears.

  2. Click on the name of a policy rule.

    The policy rule details screen appears.

  3. Go to the Enforcement actions tab.
  4. As new automations are established, cards for enforcement strategies will be displayed. The card titles will reflect the discovered sources.
    Enforcement actions for policy rules
  5. Click on a tile to open the active guardrails pane.
    An enforcement action is selected for a policy rule
  6. Click the Add guardrail button to add a new guardrail for the specific system.
  7. Once you choose a project from the selection field, you can then select one of its guardrails.
    • For Azure Foundry, requires selection of a hub and guardrail from your account

      Adding a new guardrail for Azure Foundry
    • For Amazon Bedrock, requires selection of a region, guardrail, and the version.

      Adding a new guardrail for Amazon Bedrock
    • For Databricks, apply the settings required for compliance.

      Adding a new guardrail for Databricks
      Note:

      In Databricks, Guardrail settings are directly associated with models or agents.

      Guardrail

      Description

      Input - Safety

      Detect and block unsafe or harmful content, such as reference to violent crime, self harm or hate speech.

      Input - PII Detection

      Detect and block or mask personally identifiable information (PII)

      • Block

      • Mask

      Output - Safety

      Detect and block or mask personally identifiable information (PII)

      Output - PII Detection

      Detect and block or mask personally identifiable information (PII)

      • Block

      • Mask

  8. Click the Save button to retain your guardrails.
  9. Go to the Violations tab.
  10. Click on the Context Menu icon for a given violation and then select Apply guardrail.
  11. A side pane will appear for you to choose the guardrail and applicable details according to the system (Foundry vs Bedrock) where the violation originates.

    Apply guardrail pane
  12. Make your selections, then click the Save and apply button.
  13. Go to the Enforcement actions tab.
  14. Click on the given system tile to review the active guardrail(s) you configured.
    Review the active guardrail you configured.

To configure automated actions

AI policy rule automated actions help reduce manual monitoring and respond to policy rule violations more efficiently. Depending on your configuration, you can use automated actions to flag risk, send email notifications, or send an assessment.

  1. On the AI Governance menu, select AI policy rules.

    The AI policy rules screen appears.

  2. Click the name of a policy rule.

    The policy rule details screen appears.

  3. Go to the Enforcement actions tab, then click the Add action button.
  4. Select one of the following actions:
    • Flag risk - to create or update a risk record for the policy rule violation.

    • Send email - to send an email notification for the policy rule violation.

    • Send assessment - to send an assessment for the policy rule violation.

To flag a risk

Important:

The Flag a risk automated action is under Public Preview. Please contact OneTrust Support to request early access.

  1. Select Flag risk, then click the Next button.

    The Action details for flag risk pane appears.


    Action details for flag risk pane
  2. To run the action automatically, enable Automate actions.
  3. Trigger on status shows Violation detected as the status that triggers the action. If the action is automated, the selected risk is automatically flagged every day at 11:00 AM UTC when a new violation is detected.
  4. Select a risk from the selection menu. The related risk details appear.
  5. Complete the risk details as needed. For more information about the available risk fields, see Creating and Managing Risks.
  6. Click the Add action button to save the risk action.
  7. Go to the Violations tab.
  8. Click on the Context Menu icon for the violation you want to flag, then select Flag risk.
  9. Select from the active risks configured for this policy rule, then click the Flag risk button.

    Active risks configured

To send an email

  1. Select Send email, then click the Next button.

    The Action details for send email pane appears.

    Add action details for sending an email
  2. Fill in the following fields:
    Field
    Description
    Automate actions

    Enable Automate actions to run the action automatically.

    Trigger on status

    Shows Violation detected as the status that triggers the action. If the action is automated, the system sends an email at 11:00 AM UTC if a new is violation detected. A separate email is sent for each detected violation.

    Recipient type

    Select one of the following:

    • Custom users - to send the email to specific users.

    • Policy rule owner - to send the email to the policy rule owner.

    • User type attribute - to send the email to users based on selected user type attribute values.

    Additional context

    Enter the comments to include in the email.

  3. Click the Add action button to save the email notification.
  4. Go to the Violations tab.
  5. Click on the Context Menu icon for the violation for which you want to send an email notification, then select Send email notification.
  6. Review the email notification that will be used for the violation, its recipients, then click the Send button.
    Review action details for sending an email

To send an assessment

  1. Select Send assessment, then click the Next button.

    The Action details for Send assessment pane appears.

    Add action details for sending an assessment

  2. Fill in the following fields:
    Field
    Description
    Automate actions

    Enable Automate actions to run the action automatically.

    Trigger on status

    Trigger on status shows Violation detected as the status that triggers the action. If this action is automated, the policy rule is evaluated every day at 11:00 AM UTC. When that evaluation detects a new violation, the selected assessment template is automatically sent for the violation.

    Copy previous assessment

    Enable this option to allow users to copy data from the most recent completed assessment. It includes controls for copying responses, comments, attachments, notes, linked risks, the latest template and inventory values, confirmation of changes, sending a blank assessment, and archiving the original assessment.

    Template name

    Select the assessment template to send.

    Deadline

    Enter the number of days after the assessment launch by which the respondent must complete the assessment.

    Reminder

    Enter the number of days before the deadline when the respondent should receive a reminder.

    Select respondents

    Select one of the following:

    • System users - to assign the assessment to selected users.

    • User type attributes - to assign the assessment to users based on selected user type attribute values.

    Click the plus Plus iconicon to add another respondent entry.

    Send to Previous Respondent(s)

    Assign the assessment to the respondents from the previous assessment.

    Select workflow approvers

    Select the workflow approver for the assessment. Click the plus Plus iconicon to add another approver entry.

    Use Previous Approver(s)

    Assign the assessment to the approvers from the previous assessment.

    Advanced options

    Enter the additional context:

    • Description - a brief description of the assessment.

    • Comments to respondent - comments to provide to the respondent with the assessment.

  3. Click the Add action button to save the assessment.
  4. Go to the Violations tab.
  5. Click on the Context Menu icon for the violation for which you want to send an assessment, then select Send assessment.
  6. Select the required template from the active assessment templates list, then click Launch assessment.
    Review action details for sending an assessment

To configure remediation steps

  1. On the AI Governance menu, select AI policy rules.

    The AI policy rules screen appears.

  2. Click on the name of a policy rule.

    The policy rule details screen appears.

  3. Go to the Enforcement actions tab.
  4. The OneTrust manual option offers a text editor where you can define the remediation steps to help users resolve policy rule violations.

    View remediation steps editor
  5. Click the Save button to save your remediation instructions.
  6. Go to the Violations tab.
  7. Click on the Context Menu icon for a given violation, then select View remediation steps.
  8. A side pane with your written remediation steps will appear as an instructional reference for remediating violations.

    View remediation steps pane

Additional Context Menu Options

Additional enforcement options are available at the violation level, allowing users to take action on individual violations.

Create task

  1. On the AI Governance menu, select AI policy rules. The AI policy rules screen appears.

  2. Click on the name of a policy rule. The policy rule details screen appears.

  3. Go to the Violations tab.

  4. Click on the Context Menu icon for a given violation, then select Create task.

  5. A new modal appears to let you configure the task for that violation.


    Configure a task for the policy rule violation
  6. Click the Save button.

Trigger integration

  1. On the AI Governance menu, select AI policy rules. The AI policy rules screen appears.

  2. Click on the name of a policy rule. The policy rule details screen appears.

  3. Go to the Violations tab.

  4. Click on the Context Menu icon for a given violation, then select Trigger integration.

  5. A new modal appears to let you select active connections to initiate integration workflows that help automate the policy rule.

    Trigger integration modal with the list of integrations
  6. Click the Save button.

Suppress violation

  1. On the AI Governance menu, select AI policy rules. The AI policy rules screen appears.

  2. Click on the name of a policy rule. The policy rule details screen appears.

  3. Go to the Violations tab.

  4. Click on the Context Menu icon for a given violation, then select Suppress violation.

  5. The Suppress violation modal appears. Click the Suppress violation button to pause related alerts and escalation for the violation.


    Suppress policy rule violation
  6. You can resume alerts and escalation for the suppressed violation. Click the Context Menu icon, then select Resume monitoring.

  7. The Resume monitoring confirmation modal appears. Click the Resume monitoring button to resume alerts for the violation.


    Resume monitoring on the policy rule