There was an error while loading. Please reload this page.
1 parent 8d5e461 commit 5f0c17bCopy full SHA for 5f0c17b
1 file changed
x-pack/platform/plugins/shared/inference/server/workflow_anonymization/detection/types.ts
@@ -54,6 +54,7 @@ export interface PiiRegexWorkerTaskPayload {
54
*
55
* `block` refuses to produce a partial result, so a broken rule fails the LLM call
56
* rather than letting the PII class it was meant to catch through unmasked.
57
- * `allow_unsafe` logs the failure and returns no matches for the entire payload.
+ * `allow_unsafe` logs and skips each invalid rule; valid rules still run and return their matches.
58
+ * Infrastructure failures (timeout, queue saturation) still return no matches for the entire payload.
59
*/
60
export type PiiDetectionFailureMode = 'block' | 'allow_unsafe';
0 commit comments