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.
Provenienza
- Digest del contenuto
- sha256:214fe1ab0257961f8804bc9896b3c110df85c3f6ff7fb222eed80a6938ca8154
- Pubblicato
- 2026-11-10T10:15:25Z
- 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:53be679bb9067552befa33e32b24525c6cec84c5f982646afdfab4c1511c7b38
Riferimento a questa versione
oci://hub.aggrega.ai/featurerecipe/helm/data-masking-higress:1.0.0- Destinazione
- —
- Implementa
- core/data-masking: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/data-masking:1.0.0
Usato da
Nulla nel catalogo dipende da questa entità.