Component
core/security/presidio-anonymizer
The Presidio anonymizer: a service that replaces spans of a text it is told about. A caller posts a text together with the list of spans to act on — each with its position and its entity type, in the shape the Presidio analyzer reports — and the service answers with the rewritten text and what it did to each span. Each entity type is handled by the operator the request names for it: replaced by a given value, removed, overwritten character by character, hashed or encrypted; with none named, every span is replaced by its entity type in angle brackets, such as <PERSON>. It can also reverse its own encryption when handed the key. It finds nothing. It acts only on the spans it is given, so text a caller does not list reaches the answer unchanged; finding the spans is the work of core/security/presidio-analyzer, and a caller that masks text calls both. Reachability is a deliberate part of the model. The service authenticates no caller: whatever can reach its address can submit text to it, and every text it is sent reaches it unmasked. It is published on an in-cluster address for the component that calls it, and is not meant to be exposed beyond the cluster. core/gateway/litellm takes it on its pii_anonymizer socket. Realized on Kubernetes by its Helm Recipe and for local development by its Compose Recipe, each running the vendor's published image as a single stateless service. Exports its host, port, endpoint and protocol to consumers via the uses topology, where the endpoint is the base URL a caller posts to.
来源
- 内容摘要
- sha256:f90acaf8720bddaf73930732a99f1ac28e5b24f31ecffd21c4ac80b9f6029d09
- 发布时间
- 2026-11-10T10:13:54Z
- 签名身份
- 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:7231a93158d297fe63f76860087e3a650cbf5c780dcc7751fcea14040c16ee99
此版本的引用
oci://hub.aggrega.ai/component/core/security/presidio-anonymizer:1.0.0开发者参数
开发者在 Aggregate 中设置的值。
未声明开发者参数。
运维规格
运维人员按环境调整的基础设施规格。
| 名称 | 类型 | 默认值 | 必需 | 描述 |
|---|---|---|---|---|
| port | integer (min 1024, max 65535) | 3000 | 否 | Port the service listens on and its Service accepts callers on. Most operators should omit this and let the Recipe assign the default (3000), the port the published image listens on unless told otherwise. |
| engine_version | string | 2.2.364 | 否 | Image tag of the anonymizer the Recipe runs, from the vendor's own container registry. |
| compute | object | — | 否 | — |
输出契约
此组件通过 uses 拓扑向使用方发布的值。
| 名称 | 类型 | 默认值 | 必需 | 描述 |
|---|---|---|---|---|
| host | string | — | 是 | In-cluster DNS name of the Service fronting the anonymizer. Every caller reaching this name can submit text, so it is an address for the component that calls the service rather than one to publish. |
| port | integer | — | 是 | TCP port that Service accepts callers on. It follows the port an operator set in the Release, so a consumer reads it rather than assuming a default. |
| endpoint | string | — | 是 | Base URL of the anonymizer's HTTP API, with the host and the port already composed and no path. A caller posts the text and the spans to replace to the anonymize route under it. |
| protocol | string | — | 否 | URL scheme to reach `host` and `port` over, for a consumer composing its own address rather than reading `endpoint`. |
uses 套接字
此组件用于建立连接的依赖套接字。通过某个套接字接入的每个连接,其目标都必须满足该套接字的标签选择器,且每个连接都可以在该套接字声明的槽位中携带附加项。必需槽位须由 Aggregate 或 Release 通过该套接字接入的每个连接来填充。
未声明 uses 套接字。
附加槽位
Feature 附加到此组件时所用的命名绑定点。槽位的选择器限定哪个 Feature 可以填充该槽位,其 inject 列表则指明 Feature 的内容可以如何交付。必需槽位必须在每个实例上完成绑定,可以通过实例上的附加,也可以通过其上层作用域的附加;敏感槽位则声明为用于处理机密内容。Feature 也可以以任何槽位都未声明的名称进行附加。
未声明附加槽位。
自注入允许列表
未声明自注入管道。
关系
与其他已发布实体之间的类型化边。没有已发布目标的引用会呈现为断开的边,而不是链接。
使用
此实体未使用目录中的任何内容。
被使用
使用套接字 «auth_core»
使用套接字 «auth_core»
使用套接字 «auth_core»
使用套接字 «auth_core»
使用套接字 «pii_anonymizer»
使用套接字 «upstream»
使用套接字 «forward_target»
使用套接字 «scrape_target»
使用套接字 «store»
使用套接字 «jailbreak_detection»
适用于
适用于
适用于
适用于
适用于
适用于
适用于
实现
实现