docs(ms-ai-architect): KB-refresh LOW 26/52 — security-hardening-ai-gateway: llm-content-safety syntaks (text-blocklist-ids→blocklists, shield-prompt, element-rekkefølge)
This commit is contained in:
parent
a05d238eba
commit
451f1e6a2e
1 changed files with 6 additions and 6 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
# Security Hardening for AI Gateways in APIM
|
# Security Hardening for AI Gateways in APIM
|
||||||
|
|
||||||
**Last updated:** 2026-02
|
**Last updated:** 2026-06-24
|
||||||
**Status:** GA
|
**Status:** GA
|
||||||
**Category:** API Management & AI Gateway
|
**Category:** API Management & AI Gateway
|
||||||
|
|
||||||
|
|
@ -103,17 +103,17 @@ Prompt injection er den mest kritiske AI-spesifikke trusselen (OWASP LLM Top 10
|
||||||
<inbound>
|
<inbound>
|
||||||
<base />
|
<base />
|
||||||
<!-- Azure AI Content Safety for prompt moderation -->
|
<!-- Azure AI Content Safety for prompt moderation -->
|
||||||
<llm-content-safety backend-id="content-safety-backend">
|
<llm-content-safety backend-id="content-safety-backend" shield-prompt="true">
|
||||||
<text-blocklist-ids>
|
|
||||||
<id>prompt-injection-patterns</id>
|
|
||||||
<id>offensive-content-no</id>
|
|
||||||
</text-blocklist-ids>
|
|
||||||
<categories>
|
<categories>
|
||||||
<category name="Hate" threshold="2" />
|
<category name="Hate" threshold="2" />
|
||||||
<category name="Violence" threshold="2" />
|
<category name="Violence" threshold="2" />
|
||||||
<category name="SelfHarm" threshold="2" />
|
<category name="SelfHarm" threshold="2" />
|
||||||
<category name="Sexual" threshold="2" />
|
<category name="Sexual" threshold="2" />
|
||||||
</categories>
|
</categories>
|
||||||
|
<blocklists>
|
||||||
|
<id>prompt-injection-patterns</id>
|
||||||
|
<id>offensive-content-no</id>
|
||||||
|
</blocklists>
|
||||||
</llm-content-safety>
|
</llm-content-safety>
|
||||||
</inbound>
|
</inbound>
|
||||||
</policies>
|
</policies>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue