From 3cf366e7dfe6eb05d1ab91c48633ebd58d581707 Mon Sep 17 00:00:00 2001 From: crp4222 <121295348+crp4222@users.noreply.github.com> Date: Fri, 23 Oct 2026 09:52:08 +0200 Subject: [PATCH] chore(guardrails): regenerate the lazy OpenAPI snapshot and dashboard types for privaite --- litellm/proxy/_lazy_openapi_snapshot.json | 57 +++++++++++++++++++ ui/litellm-dashboard/src/lib/http/schema.d.ts | 23 ++++++++ 2 files changed, 80 insertions(+) diff --git a/litellm/proxy/_lazy_openapi_snapshot.json b/litellm/proxy/_lazy_openapi_snapshot.json index 4572e59944b..d91b4f1cc49 100644 --- a/litellm/proxy/_lazy_openapi_snapshot.json +++ b/litellm/proxy/_lazy_openapi_snapshot.json @@ -17183,6 +17183,24 @@ "description": "Base URL for the IBM Guardrails server", "title": "Base Url" }, + "block_entities": { + "anyOf": [ + { + "type": "string" + }, + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } + ], + "description": "PII types to reject outright instead of masking: a list, or a comma-separated string, e.g. ['US_SSN', 'CREDIT_CARD']. A request containing any listed type is refused with a 400 and nothing is forwarded. Omitted (the default) masks everything and forwards it.", + "title": "Block Entities" + }, "block_failures": { "anyOf": [ { @@ -17471,6 +17489,19 @@ "description": "Python-like code containing the apply_guardrail function for custom guardrail logic", "title": "Custom Code" }, + "deanonymize": { + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ], + "default": true, + "description": "Restore the original PII values in the response.", + "title": "Deanonymize" + }, "decision_model": { "anyOf": [ { @@ -17857,6 +17888,19 @@ "description": "Tag to use for keyword redaction", "title": "Keyword Redaction Tag" }, + "languages": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": "en,fr", + "description": "Comma-separated spaCy languages used for detection.", + "title": "Languages" + }, "lasso_conversation_id": { "anyOf": [ { @@ -18368,6 +18412,19 @@ "description": "Pre-checkpoint ID for the Ovalix Tracker service.", "title": "Pre Checkpoint Id" }, + "preset": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": "onnx", + "description": "Detection preset: 'onnx' (full suite, also detects secrets) or 'light' (faster, Presidio only).", + "title": "Preset" + }, "presidio_ad_hoc_recognizers": { "anyOf": [ { diff --git a/ui/litellm-dashboard/src/lib/http/schema.d.ts b/ui/litellm-dashboard/src/lib/http/schema.d.ts index bd08b743c7d..8ca7a7674d5 100644 --- a/ui/litellm-dashboard/src/lib/http/schema.d.ts +++ b/ui/litellm-dashboard/src/lib/http/schema.d.ts @@ -36501,6 +36501,11 @@ export interface components { * @description Base URL for the IBM Guardrails server */ base_url?: string | null; + /** + * Block Entities + * @description PII types to reject outright instead of masking: a list, or a comma-separated string, e.g. ['US_SSN', 'CREDIT_CARD']. A request containing any listed type is refused with a 400 and nothing is forwarded. Omitted (the default) masks everything and forwards it. + */ + block_entities?: string | string[] | null; /** * Block Failures * @description If True, blocks requests on API failures. Defaults to True if not provided @@ -36617,6 +36622,12 @@ export interface components { * @description Python-like code containing the apply_guardrail function for custom guardrail logic */ custom_code?: string | null; + /** + * Deanonymize + * @description Restore the original PII values in the response. + * @default true + */ + deanonymize: boolean | null; /** * Decision Model * @description For guardrail='decision_model': the Decisions-API model that scores each check @@ -36792,6 +36803,12 @@ export interface components { * @description Tag to use for keyword redaction */ keyword_redaction_tag?: string | null; + /** + * Languages + * @description Comma-separated spaCy languages used for detection. + * @default en,fr + */ + languages: string | null; /** * Lasso Conversation Id * @description Conversation ID for the Lasso guardrail @@ -36993,6 +37010,12 @@ export interface components { * @description Pre-checkpoint ID for the Ovalix Tracker service. */ pre_checkpoint_id?: string | null; + /** + * Preset + * @description Detection preset: 'onnx' (full suite, also detects secrets) or 'light' (faster, Presidio only). + * @default onnx + */ + preset: string | null; /** * Presidio Ad Hoc Recognizers * @description Path to a JSON file containing ad-hoc recognizers for Presidio