Skip to content

feat: support secrets redaction in streaming guardrails - #2245

Open
xiaoqi-7 wants to merge 2 commits into
kaito-project:mainfrom
xiaoqi-7:feat/secrets-streaming-redaction
Open

feat: support secrets redaction in streaming guardrails#2245
xiaoqi-7 wants to merge 2 commits into
kaito-project:mainfrom
xiaoqi-7:feat/secrets-streaming-redaction

Conversation

@xiaoqi-7

Copy link
Copy Markdown
Contributor

Reason for Change:

Support safe streaming redaction for secrets using redactMode: all.

Requirements

  • added unit tests and e2e tests (if applicable).

Issue Fixed:

N/A

Notes for Reviewers:

Covers AWS keys, split chunks, multiple secrets, repeated scans, and leak prevention. partial and hash remain unsupported.

Signed-off-by: YiqiWang <yiqiwang@microsoft.com>
…ing-redaction

Signed-off-by: YiqiWang <yiqiwang@microsoft.com>

# Conflicts:
#	presets/ragengine/streaming/README.md
#	presets/ragengine/streaming/guardrails.py
#	presets/ragengine/tests/streaming/test_guardrails.py
@kaito-pr-agent

Copy link
Copy Markdown
Contributor

Failed to generate code suggestions for PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants