本页面为机器翻译。阅读英文原文。

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

未声明工作负载模板。

局部变量

未声明局部变量。

值映射

未声明值映射。

关系

与其他已发布实体之间的类型化边。没有已发布目标的引用会呈现为断开的边,而不是链接。

使用

被使用

目录中没有任何内容依赖此实体。

FeatureRecipe 概念参考 →

Aggrega 目录 — 收录组件、功能、配方以及渲染它们的插件的开放索引。

基于共享的 Aggrega 设计系统构建。

隐私