Draft: Redact sensitive user information using regex
What does this merge request do and why?
This MR uses a simple PII redaction using regex substitution
This MR:
- Adds 882 regex rules for detecting secrets
- Refactors the existing detector code use
re.sub()
- Removes the unused detector code that relies on plugins
- Adds PII redaction to the v2 and v3 API
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
Merge request checklist
-
Tests added for new functionality. If not, please raise an issue to follow up. -
Documentation added/updated, if needed.
Relates to #357
Edited by Andras Herczeg