klieo-pii-patterns
Shared PII detection patterns consumed by klieo-ops and klieo-ops-evidence-verify.
Part of the klieo Rust agent framework.
Features
- Catalogue of regex source strings + labels for common PII types
- Single source of truth — avoids pattern drift between the redactor and auditor
- Internal crate: consume via
klieo-ops
Quickstart
use PATTERNS;
for in PATTERNS
PATTERNS is a &[(label, regex_source)] slice; iterate in declared
order. Compile each regex_source with
regex::RegexBuilder::case_insensitive(true) to match the contract
that klieo-ops::redactor::DefaultRedactor uses internally.
Status
3.x — stable. See docs/SEMVER.md.
License
MIT — see LICENSE.