CredSweeper uses an ML model classifier to reduce False Positives. You can adjust the sensitivity using the --ml_threshold argument:
- Higher threshold: Decreases the number of alerts (fewer False Positives, but potentially more False Negatives).
- Lower threshold: Increases the number of alerts (more False Positives).
- Setting
--ml_threshold 0: Turns ML off and maximizes the number of alerts.
Allowed values are floats between 0 and 1, or the strings: lowest, low, medium, high, highest (default is medium).