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.
Pochodzenie
- Skrót zawartości
- sha256:4b98ce6efe8d07aa8d4a58881f7964f438bd092b78e5b11301ce95d33af2ff4e
- Opublikowano
- 2026-11-10T10:15:59Z
- Tożsamość podpisująca
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Podpis
- Oficjalnyapplication/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
Referencja w tej wersji
oci://hub.aggrega.ai/featurerecipe/helm/prompt-deny-patterns-traefik-hub:1.0.0- Cel
- —
- Implementuje
- core/prompt-deny-patterns:1.0.0
Udostępnia
Deterministyczne szablony wskaźników, które ta receptura podłącza dla konsumentów.
Nie zadeklarowano szablonów provides.
Workload
Nie zadeklarowano szablonu obciążenia roboczego.
Zmienne lokalne
Nie zadeklarowano zmiennych lokalnych.
Mapowanie wartości
Nie zadeklarowano mapowania wartości.
Relacje
Typowane krawędzie do innych opublikowanych encji i od nich. Odwołanie bez opublikowanego celu jest renderowane jako przerwana krawędź, a nie jako łącze.
Używa
- implementujeimplementuje
core/prompt-deny-patterns:1.0.0
Używane przez
Nic w katalogu nie zależy od tej encji.