Microsoft Foundry Content Filter Modified or Deleted

Last updated 5 days ago on 2026-10-23
Created 5 days ago on 2026-10-23

About

Identifies the creation, modification, or deletion of a content filter (RAI policy) or a custom blocklist on a Microsoft Foundry (Azure AI Services) account. Content filters decide which prompt and completion categories, jailbreak attempts, and protected material a model deployment blocks. An adversary with control of the account can weaken or remove these filters so that harmful prompts and outputs are no longer blocked or logged as filtered, which removes a guardrail and the detections that depend on its verdicts.
Tags
Domain: CloudDomain: GenAIData Source: AzureData Source: Azure Activity LogsData Source: Microsoft FoundryPlatform: AzureUse Case: Threat DetectionTactic: Defense EvasionRule Type: Custom Query (KQL)Language: kuery
Severity
medium
Risk Score
47
MITRE ATT&CK™

Defense Evasion (TA0005)(external, opens in a new tab or window)

False Positive Examples
AI platform administrators tuning content filter thresholds or blocklists for a new use case. Confirm the change with the account owner and change records. Infrastructure-as-code deployments that recreate RAI policies on every release. Add exceptions for the service principals that run these pipelines.
License
Elastic License v2(external, opens in a new tab or window)

Definition

Rule Type
Query (Kibana Query Language)
Integration Pack
Prebuilt Security Detection Rules
Index Patterns
logs-azure.activitylogs-*
Related Integrations

azure(external, opens in a new tab or window)

Query
text code block:
data_stream.dataset: "azure.activitylogs" and azure.activitylogs.operation_name: ( "MICROSOFT.COGNITIVESERVICES/ACCOUNTS/RAIPOLICIES/WRITE" or "MICROSOFT.COGNITIVESERVICES/ACCOUNTS/RAIPOLICIES/DELETE" or "MICROSOFT.COGNITIVESERVICES/ACCOUNTS/RAIBLOCKLISTS/WRITE" or "MICROSOFT.COGNITIVESERVICES/ACCOUNTS/RAIBLOCKLISTS/DELETE" ) and event.outcome: "success"

Install detection rules in Elastic Security

Detect Microsoft Foundry Content Filter Modified or Deleted in the Elastic Security detection engine by installing this rule into your Elastic Stack.

To setup this rule, check out the installation guide for Prebuilt Security Detection Rules(external, opens in a new tab or window).