---
sourceDocument: Australia Platform security
sourceDocumentLink: https://www.servicenow.com/docs/r/australia/platform-security

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia Platform security

ft:clusterId :

    - psec

bundleId :

    - psec

workflow :

    - Platform


---

# Activate offensiveness protection for generative AI

# Activate offensiveness protection for generative AI {#ariaid-title1}

Release version: Australia  
Updated November 16, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read  
Activate
offensiveness detection to log or block offensive content generated by
AI
skills and workflows.

## Before you begin

Role required: sn_nowassist_admin.nsa_admin

## About this task

Generative AI output is probabilistic, which means that the same input can produce different outputs. Some of the AI generated content may be offensive, which includes toxic, sexist, or other harmful language. AI Guardian enables you to detect offensive content in both inputs and outputs, and logs the event when it is detected. You can also configure it to block offensive material so that users see a standard error message instead of the generated response.  
Note:  
Offensiveness detection applies to specific skills and workflows, and to AI agents and Virtual Agent conversations when configured in AI Agent Studio.. For more information about skills that support offensiveness detection, see [AI Guardian](https://www.servicenow.com/docs/QYIxXynVKkrQ1N2mQp1G~w "AI Guardian is built on the ServiceNow Small Language Model (SLM) and monitors generative AI interactions to detect offensive content, prompt injection attacks, and sensitive topics."). For information about enabling offensiveness guardrails in AI Agent Studio, see .

By default, offensiveness guardrails for AI skills are not active. You must activate offensiveness guardrails for each workflow where you want offensiveness guardrails to operate in AI skills. Blocking content may increase
latency.

Offensiveness guardrails are available only for supported workflows and AI skills. This behavior is different from prompt injection protection, which is applied instance-wide.

You can export logs for
review. For more
information, see [Export AI Guardian logs](https://www.servicenow.com/docs/34UgCoEEF2Nu~3adbvyT4g "Export logs from AI Guardian to get insights into how often different guardrails are being detected and used.").

## Procedure

1. Navigate to AllAI Admin HubSettings.
2. In the side panel, select the AI GuardianOffensiveness tab.
3. Select the Available for you tab to review which workflows you can choose from.  
   Offensiveness
   guardrails that are already
   activated appear in the Active tab.
4. Select Activate for the workflow that you want to enable offensiveness detection.
5. Select the appropriate action.
   * Select Log the output to record the events when offensive content is detected. The content is still shown to the user.
   * Select Block the response and log the output to record the event and prevent the content from being shown to the user. The user sees a standard error message instead.

   {#activate-offensiveness-protection-for-generative-ai__choices_zdn_xrr_q3c}  

6. Select Save and activate.
7. Repeat the proceeding steps for other workflows where you want offensiveness guardrails to operate.

## Result

Offensiveness
detection guardrail is enabled for the
selected workflow. Events
are logged when offensive content is detected or generated.

## What to do next

You can enable offensiveness detection
separately for each supported generative
AI
application and workflow.
Repeat this task for each workflow where you want
offensiveness protection enabled.

To
change the action for an active workflow, select more options () icon in the list of active workflows,
then select
Edit.

To deactivate offensiveness protection
for a
workflow,
select more
options () icon in the list of active workflows and then select Deactivate
.

*[\>]: and then


