本頁面由機器翻譯。閱讀英文原文。

FeatureRecipe

prompt-deny-patterns-traefik-hub

Realizes core/prompt-deny-patterns on the gateway core/gateway/traefik-hub; a Release binds it in its Manifest. It emits no file: the gateway's chart Recipe, traefik-hub-chart, reads the attachment and writes a Content Guard of Traefik Hub's AI gateway onto the route of each model wired to the gateway's models socket. The guard's regular-expression engine reads each request as a chat completion and refuses one that any of deny_patterns matches, with HTTP 403 and a plain-text body, before the request is forwarded. Expressions use Go's RE2 syntax, which has no lookahead and no backreference; letter case counts unless an expression says otherwise, as (?i) does, and an expression matches anywhere in the text. Which fields of a chat request the guard reads is not stated in Traefik's reference. The build does not check an expression: one the gateway cannot compile keeps the guard from starting. The guard reads requests only, so a streamed reply passes as it streams. So it honours deny_patterns, and several attachments, each its own guard. It refuses allow_patterns by name, since the guard refuses on a match and admits nothing by one, and halts with nothing wired to the models socket and on any component other than core/gateway/traefik-hub. That the gateway enforces the guard is not observed by any build.

出處

官方由本目錄認可為官方發布者的簽署身分所簽署。
內容摘要
sha256:4b98ce6efe8d07aa8d4a58881f7964f438bd092b78e5b11301ce95d33af2ff4e
發布時間
2026-11-10T10:15:59Z
簽署身分
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:6f517bb0b443c3b61f070869f8fc923b4c60720cf8f907658f6cc55fcfcdaf61

此版本的參照

oci://hub.aggrega.ai/featurerecipe/helm/prompt-deny-patterns-traefik-hub:1.0.0
目標
—
實作
core/prompt-deny-patterns:1.0.0

提供

此配方為使用端連接的確定性指標範本。

未宣告任何 provides 範本。

Workload

未宣告任何工作負載範本。

Locals

未宣告任何 locals。

值對應

未宣告任何值對應。

關係

與其他已發布實體之間具型別的邊。沒有已發布目標的參照,會渲染為中斷的邊,而不是連結。

使用

被使用於

目錄中沒有任何項目相依於此實體。

FeatureRecipe 概念參考

Aggrega 目錄:元件、功能、配方,以及負責渲染它們的外掛程式的開放索引。

以共用的 Aggrega 設計系統建置。

隱私權