Deug mode #1
majchrosoft
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
|
Hey 👋🏼 $regexClassThatMadeDetection = $detectionManager->getDetections()->first()->getRegexClass();When a detection in db is found, it records which regex rule class made the detection. This package in particular doesn't do the redactions. The Scrubber package does, I am working on extracting the regex repository into its own package out of the Scrubber package. Doing this will allow to remove the dependency on the scrubber as this package isn't intended to actually scrub anything in db only detect and alert. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
WHAT:
Introduce debug mode -
Debug mode is on when redacted string contains placeholder for extra data, for example redacted-[rule]
when the redaction is applied, the extra data is put into placeholder
HOW:
---- to be filled ---
WHY:
As user of a library i have too much redacted data and i want to have fast look which rule has made a change
Beta Was this translation helpful? Give feedback.
All reactions