You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-82Lines changed: 14 additions & 82 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -414,89 +414,30 @@ class DataProcessor
414
414
415
415
### Log Redaction
416
416
417
-
**What it does:** Automatically scrubs sensitive data from log context using a priority-based system to ensure compliance and security while preserving important data.
417
+
**What it does:** Automatically scrubs sensitive data from log context using [Kirschbaum Redactor](https://github.com/kirschbaum-development/redactor) to ensure compliance and security while preserving important data.
418
418
419
-
**Priority System:**
420
-
1.**Safe Keys** (highest) - Never redacted, always shown
421
-
2.**Blocked Keys** - Always redacted, regardless of content
422
-
3.**Regex Patterns** - Redacts values matching specific patterns
423
-
4.**Shannon Entropy** (lowest) - Detects high-entropy secrets like API keys
424
-
425
-
**Configuration:** Redaction options in `config/monitor.php`:
419
+
**Configuration:** Simple redaction configuration in `config/monitor.php`:
// Result includes redaction marker when data was modified
492
-
// { ..., "_redacted": true }
493
438
```
494
439
495
-
**Shannon Entropy Detection:**
496
-
- Automatically detects API keys, JWT tokens, and other high-entropy secrets
497
-
- Ignores common patterns like URLs, UUIDs, dates, and file paths
498
-
- Configurable threshold and minimum length requirements
499
-
- Prevents false positives on normal text and structured data
440
+
For detailed redaction configuration, rules, patterns, and profiles, see the [Kirschbaum Redactor documentation](https://github.com/kirschbaum-development/redactor).
0 commit comments