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.
Provenienza
- Digest del contenuto
- sha256:4b98ce6efe8d07aa8d4a58881f7964f438bd092b78e5b11301ce95d33af2ff4e
- Pubblicato
- 2026-11-10T10:15:59Z
- Identità di firma
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Firma
- Ufficialeapplication/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
Riferimento a questa versione
oci://hub.aggrega.ai/featurerecipe/helm/prompt-deny-patterns-traefik-hub:1.0.0- Destinazione
- —
- Implementa
- core/prompt-deny-patterns:1.0.0
Fornisce
Modelli di puntatori deterministici che questa ricetta collega per i consumatori.
Nessun modello provides dichiarato.
Workload
Nessun modello di workload dichiarato.
Variabili locali
Nessuna variabile locale dichiarata.
Mappatura dei valori
Nessuna mappatura dei valori dichiarata.
Relazioni
Archi tipizzati da e verso altre entità pubblicate. Un riferimento senza una destinazione pubblicata viene mostrato come arco interrotto anziché come link.
Usa
- implementaimplementa
core/prompt-deny-patterns:1.0.0
Usato da
Nulla nel catalogo dipende da questa entità.