FeatureRecipe
prompt-injection-shield-azure-api-management
Realizes core/prompt-injection-shield on core/gateway/azure-api-management's terraform Recipe; a Release binds it in its Manifest. The Recipe writes Azure's content safety check into the API's policy with its prompt shield on, and it emits no file. Azure AI Content Safety checks each request for a user attack before the model is called, and the gateway answers one it detects with HTTP 403. The shield is on or off, so it keeps sensitivity standard and refuses strict by name. It runs at Microsoft's own sensitivity, which is not measured against the threshold standard means on the gateways that send requests through a guard. The check calls the instance's Azure AI Content Safety resource through the backend infra.content_safety_backend_id names, which the instance reaches with its managed identity; the build halts while that key is unset, and cannot see the backend. It halts on any component other than core/gateway/azure-api-management. That the check applies as described is Microsoft's documented behaviour, and no build observes it.
来源
- 内容摘要
- sha256:2d8b9b01603187c1eb4db8a48d4386a92f27d520b59db942a659dad2c7c8b4b4
- 发布时间
- 2026-11-10T10:16:47Z
- 签名身份
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
签名
- 官方application/vnd.dev.sigstore.bundle.v0.3+json
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
sha256:5cff8bacb4cbe200cbc83c7d3a353be959bf01615c9b3d9e87c0419bce2d7d86
此版本的引用
oci://hub.aggrega.ai/featurerecipe/terraform/prompt-injection-shield-azure-api-management:1.0.0- 目标
- —
- 实现
- core/prompt-injection-shield:1.0.0
提供
此配方为使用方接入的确定性指针模板。
未声明 provides 模板。
注入映射
azure_api_management:
prompt_shield: "true"
Workload
未声明工作负载模板。
局部变量
未声明局部变量。
值映射
未声明值映射。
关系
与其他已发布实体之间的类型化边。没有已发布目标的引用会呈现为断开的边,而不是链接。
使用
- 实现实现
core/prompt-injection-shield:1.0.0
被使用
目录中没有任何内容依赖此实体。