Skip to main content

scan

Function scan 

Source
pub fn scan(text: &str) -> Vec<LeakMatch>
Expand description

Scan text for potential leaked secrets.

Returns a list of matches with rule name, line number, and redacted preview. Use has_leaks() for a simple boolean check.