Control: Azure > AI Foundry > RAI Policy > Content Filters
Check or enforce the content filters configured on Azure > AI Foundry > RAI Policy resources.
The control compares the RAI policy's content filter list and mode against the sub-policies under Azure > AI Foundry > RAI Policy > Content Filters: one per filter on the input (Prompt) and output (Completion) side, a severity threshold for each harm category, and the policy mode. Only filters whose sub-policy is not Skip are checked, and each asserts only the fields it names. Missing or misconfigured filters put the control in alarm, and its details list every filter with the current and expected value. On Enforce: Configured the control runs the Set Content Filters action, which adds or corrects only those filters and preserves every other filter and setting.
System-managed RAI policies (Microsoft.Default, Microsoft.DefaultV2) cannot be modified in Azure and are skipped.
Resource Types
This control targets the following resource types:
Policies
The following policies can be used to configure this control:
This control type relies on these other policies when running actions:
- Azure > AI Foundry > RAI Policy > Content Filters > Input Filter > Hate
- Azure > AI Foundry > RAI Policy > Content Filters > Input Filter > Hate > Severity Threshold
- Azure > AI Foundry > RAI Policy > Content Filters > Input Filter > Sexual
- Azure > AI Foundry > RAI Policy > Content Filters > Input Filter > Sexual > Severity Threshold
- Azure > AI Foundry > RAI Policy > Content Filters > Input Filter > Violence
- Azure > AI Foundry > RAI Policy > Content Filters > Input Filter > Violence > Severity Threshold
- Azure > AI Foundry > RAI Policy > Content Filters > Input Filter > Selfharm
- Azure > AI Foundry > RAI Policy > Content Filters > Input Filter > Selfharm > Severity Threshold
- Azure > AI Foundry > RAI Policy > Content Filters > Input Filter > Jailbreak
- Azure > AI Foundry > RAI Policy > Content Filters > Input Filter > Indirect Attack
- Azure > AI Foundry > RAI Policy > Content Filters > Input Filter > Indirect Attack Spotlighting
- Azure > AI Foundry > RAI Policy > Content Filters > Input Filter > Profanity
- Azure > AI Foundry > RAI Policy > Content Filters > Output Filter > Hate
- Azure > AI Foundry > RAI Policy > Content Filters > Output Filter > Hate > Severity Threshold
- Azure > AI Foundry > RAI Policy > Content Filters > Output Filter > Sexual
- Azure > AI Foundry > RAI Policy > Content Filters > Output Filter > Sexual > Severity Threshold
- Azure > AI Foundry > RAI Policy > Content Filters > Output Filter > Violence
- Azure > AI Foundry > RAI Policy > Content Filters > Output Filter > Violence > Severity Threshold
- Azure > AI Foundry > RAI Policy > Content Filters > Output Filter > Selfharm
- Azure > AI Foundry > RAI Policy > Content Filters > Output Filter > Selfharm > Severity Threshold
- Azure > AI Foundry > RAI Policy > Content Filters > Output Filter > Protected Material Text
- Azure > AI Foundry > RAI Policy > Content Filters > Output Filter > Protected Material Code
- Azure > AI Foundry > RAI Policy > Content Filters > Output Filter > Profanity
- Azure > AI Foundry > RAI Policy > Content Filters > Output Filter > Ungrounded Material
- Azure > AI Foundry > RAI Policy > Content Filters > Mode
Permissions
Cloud permissions used by this control and its actions:
microsoft.cognitiveservices/accounts/raipolicies/writemicrosoft.cognitiveservices/accounts/raipolicies/read
Category
In Your Workspace
Developers
- tmod:@turbot/azure-aifoundry#/control/types/raiPolicyContentFilters
- tmod:@turbot/turbot#/control/categories/security
- turbot graphql controls --filter "controlTypeId:tmod:@turbot/azure-aifoundry#/control/types/raiPolicyContentFilters"
Get Controls