1 parent 008b8f8 commit b98028cCopy full SHA for b98028c
1 file changed
src/analyzer.py
@@ -130,7 +130,7 @@ def _replace_authorization_preview(match) -> str:
130
),
131
(
132
re.compile(
133
- rf'(?i)(["\'])({_LLM_SENSITIVE_FIELD_NAME_PATTERN})\1\s*:\s*(?!["\'])(-?[\w.]+)'
+ rf'(?i)(["\'])({_LLM_SENSITIVE_FIELD_NAME_PATTERN})\1\s*:\s*(?!["\'])(-?[\w.+\-]+)'
134
135
r"\1\2\1:[REDACTED]",
136
0 commit comments