Skip to main content

security_rule_id

Function security_rule_id 

Source
pub fn security_rule_id(finding: &SecurityFinding) -> String
Expand description

The stable rule identifier for a finding.

The secret-leak ClientServerLeak keeps its bespoke id; the server-only variant gets security/server-only-import so a SARIF consumer tells “reaches server-only code” apart from “reads a secret”. Each TaintedSink category gets security/<category> so candidates group per CWE class.