SchemaLibrary
TextMaskingSchemas
Schema fragments for masking sensitive text by listed pattern and by entity type. MaskedTextParameter declares patterns and entities once, for core/data-masking, which masks what travels through a gateway, and for values.log_masking on core/gateway/litellm, which masks what that gateway writes to its logs, so a pattern or an entity type means the same thing on both.
Provenance
- Content digest
- sha256:3712bcf52b0bad0a17b88047a6c740ffc3483a1a61460ae43f04ee0251184f88
- Published
- 2026-11-10T10:29:09Z
- Signing identity
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Signature
- Officialapplication/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:36dc1a0a79ea676bb0e5f30f5f356cdfb63310b8f83a98571f26611f580d2b72
Reference at this version
oci://hub.aggrega.ai/schemalibrary/textmaskingschemas:1.0.0MaskedTextParameter
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
| patterns | array | — | no | Regular expressions whose matches are masked. Each carries a name, which the placeholder in place of the matched text shows unless the entity referencing these lets its author accept one that does not, and the expression itself, handed to the gateway exactly as written in the expression syntax that gateway reads. An expression matches what it literally describes and nothing else: another format, other spacing or another spelling of the same value passes unmasked. |
| entities | array | — | no | Entity types a recognizer service detects and the gateway masks, written in that recognizer's own vocabulary, for example PERSON or EMAIL_ADDRESS. Recognition is statistical: it can miss an entity and can mask text that is not one. Listing any needs the gateway to be wired to a recognizer, which each realization names, and a realization refuses a type its recognizer does not know. |
Relationships
Typed edges to and from other published entities. A reference with no published target renders as a broken edge rather than a link.
Uses
This entity uses nothing in the catalog.
Used by
extends schema (values)