Microsoft Foundry Repeated Assistant Refusals
Detects three or more completed assistant refusals from the same client, API Management subscription, and model. Matching replies finished on their own (finish_reason stop) and declined the prompt. A burst means that…
Description
Detects three or more completed assistant refusals from the same client, API Management subscription, and model. Matching replies finished on their own (finish_reason stop) and declined the prompt. A burst means that caller kept sending prompts the model will not answer.
Detection logic
Its licence does not clear it for publishing here
Sunturai publishes a detection's own text where the licence it arrived under has been reviewed and permits it, and Elastic License 2.0 has not. The query as its source wrote it, its canonical form and the hash that pins this revision are in the workspace record.
Detection requirements
- Platform
- ContainersESXiIaaSIdentity ProviderLinuxmacOSNetwork DevicesOffice SuiteWindows
The rule states no platform. This is derived from the ATT&CK technique it maps to.
Known benign triggers
- A shared subscription key behind one NAT can combine refusals from unrelated users. Raise the threshold or split keys per application if that subscription is noisy.
- Red-team or application tests that intentionally send prompts the model refuses. Exclude that source IP or API Management subscription.
MITRE ATT&CK mappings
0 exclusive techniques.This is coverage no other published rule has; it is not this rule's total technique count.
References
| Reference | Cited by |
|---|---|
| learn.microsoft.com/en-us/azure/api-management/diagnostic-logs-reference | 3 |
| www.elastic.co/docs/reference/integrations/azure_ai_foundry | 5 |
From the source
- At source
- Open at source
- Upstream identifier
- 3c694712-7bd9-43b5-ac6b-1db841abc8de
- Tagged by the source as
- Mitre Atlas: AML.T0051Mitre Atlas: AML.T0054Data Source: Microsoft FoundryDomain: CloudDomain: GenAIPlatform: AzureResources: Investigation GuideRule Type: ES|QLService: Azure API ManagementTactic: Defense EvasionUse Case: Policy Violation
Licence
- Published under
- Elastic License 2.0Read the licence
- Attribution
- Required
Authorship
- Written by
- Published
- Oct 6, 2026
- Version
- 1