FeatureRecipe
data-masking-higress
Realizes core/data-masking on core/gateway/higress; a Release binds it in its Manifest. It emits no file: the gateway's chart Recipe, higress-chart, writes Higress's ai-data-masking plugin onto the model routes, replacing each listed pattern's matches with [<pattern name>] before the request is forwarded. Patterns are Rust fancy-regex, grok's %{NAME} expanded. The plugin reads each message's content and reasoning while all are plain text, and nothing else. So while allow_unmasked_text is off, every other request is refused with HTTP 403 before it is forwarded: one not sent as JSON or not a chat completion, a message whose content is a list or null, a tool call or tool turn, a message's name, and any parameter but a chat completion's non-text ones and the developer's tool, format and stop settings. Set on, those pass unmasked, a request with a message not holding plain text passing whole. With only allow_non_text_content off, images, files, audio and every request but a chat completion are refused. Whatever it relaxes, a compressed, binary or gRPC body, an upgrade and a body holding U+FFFD, which an invalid UTF-8 byte reads as, get HTTP 403, and a body over 32 KiB 413. A client deliberately sending valid JSON the gateway's validation cannot decode (a number past a double's range) gets past them: only plain message text and reasoning are then masked, escaped text is not, and a body also not valid UTF-8 passes unmasked. Nor is escaped text masked in JSON nested over 127 levels. It refuses entity types, restore, refuse, scope response and both, and allow_non_text_content on while allow_unmasked_text is off. It halts on a second attachment, on an empty models socket and on any other component.
Provenance
- Empreinte du contenu
- sha256:214fe1ab0257961f8804bc9896b3c110df85c3f6ff7fb222eed80a6938ca8154
- Publié
- 2026-11-10T10:15:25Z
- Identité de signature
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Signature
- Officielapplication/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:53be679bb9067552befa33e32b24525c6cec84c5f982646afdfab4c1511c7b38
Référence à cette version
oci://hub.aggrega.ai/featurerecipe/helm/data-masking-higress:1.0.0- Cible
- —
- Implémente
- core/data-masking:1.0.0
Fournit
Modèles de pointeurs déterministes que cette recette câble pour les consommateurs.
Aucun modèle provides déclaré.
Workload
Aucun modèle de charge de travail déclaré.
Variables locales
Aucune variable locale déclarée.
Correspondance des valeurs
Aucune correspondance des valeurs déclarée.
Relations
Arêtes typées vers et depuis d’autres entités publiées. Une référence sans cible publiée s’affiche comme une arête rompue plutôt que comme un lien.
Utilise
- implémenteimplémente
core/data-masking:1.0.0
Utilisé par
Rien dans le catalogue ne dépend de cette entité.