Skip to content
Back to feed

November 2, 2026 · Google CloudFeature

Model Armor template exclusion rules for streaming sanitization in Preview

Support for template-specific exclusion rules in streaming sanitization (StreamSanitizeUserPrompt and StreamSanitizeModelResponse) is available in Preview. You can use dictionary and regular expression exclusion rules in buffered mode (STREAMING_MODE_BUFFERED) with partial or full matching, and in real-time mode (STREAMING_MODE_REALTIME) with partial matching, to mitigate false-positive detections for prompt injection and jailbreak detection and responsible AI filters.

For more information, see Exclusion rules in streaming sanitization.

Text from the Google Cloud release notes, licensed under CC BY 4.0. Source: Google Cloud release notes.