Skip to content

Commit 212b733

Browse files
refactor(guardrails): single Presidio image, native VIN, per-rule redaction language
- collapse the analyzer/anonymizer URLs into one PRESIDIO_URL (combined image serves /analyze + /anonymize) - remove the TS VIN recognizer (vin.ts, recognizers.ts) — VIN is now native + multi-language in the image; validate_pii is a thin analyze→anonymize client - trim KR_RRN/TH_TNIN from the catalog (no Korean/Thai model in the image) - add per-rule redaction language: PII_LANGUAGES catalog drives the contract enum, the Data Retention rule modal, and the guardrails block dropdown; resolver + logger thread it through to maskPIIBatch (default en), so non-English entity rules (e.g. ES_NIF) actually fire instead of silently no-op'ing under en
1 parent 91ce2d1 commit 212b733

3 files changed

Lines changed: 0 additions & 167 deletions

File tree

apps/sim/lib/guardrails/recognizers.ts

Lines changed: 0 additions & 27 deletions
This file was deleted.

apps/sim/lib/guardrails/vin.test.ts

Lines changed: 0 additions & 52 deletions
This file was deleted.

apps/sim/lib/guardrails/vin.ts

Lines changed: 0 additions & 88 deletions
This file was deleted.

0 commit comments

Comments
 (0)