You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
PORT: z.number().optional(),// Main application port
312
312
INTERNAL_API_BASE_URL: z.string().optional(),// Optional internal base URL for server-side self-calls; must include protocol if set (e.g., http://sim-app.namespace.svc.cluster.local:3000)
313
313
ALLOWED_ORIGINS: z.string().optional(),// CORS allowed origins
314
-
PRESIDIO_ANALYZER_URL: z.string().optional(),// Presidio analyzer sidecar base URL for PII detection (default http://localhost:5002)
315
-
PRESIDIO_ANONYMIZER_URL: z.string().optional(),// Presidio anonymizer sidecar base URL for PII masking (default http://localhost:5001)
0 commit comments