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
| Toggle help screen | <kbd>?</kbd> | Show or hide the help screen |
186
190
| Quit | <kbd>q</kbd> | Exit the application |
187
191
192
+
## 🛡️ Secret Detection & Redaction
193
+
194
+
CodeGrab automatically scans the content of selected files for potential secrets using [gitleaks](https://github.com/gitleaks/gitleaks) with its default rules. This helps prevent accidental exposure of sensitive credentials like API keys, private tokens, and passwords.
195
+
196
+
-**Enabled by Default**: Secret scanning and redaction are active unless explicitly disabled.
197
+
-**Redaction Format**: Detected secrets are replaced with `[REDACTED_RuleID]`, where `RuleID` indicates the type of secret found (e.g., `[REDACTED_generic-api-key]`).
198
+
-**Skipping Redaction**: You can disable this feature using the `-S` / `--skip-redaction` flag when running the command, or by pressing `S` in the interactive TUI. Use this option with caution, as it may expose sensitive information in the output.
0 commit comments