Skip to main content

evaluate_custom_rules

Function evaluate_custom_rules 

Source
pub fn evaluate_custom_rules(
    graph: &AuthorityGraph,
    paths: &[PropagationPath],
    rules: &[CustomRule],
) -> Vec<Finding>
Expand description

Evaluate every (rule, path) pair. A finding is produced when the rule’s source, sink, and path predicates all match. Findings carry the rule id in the message so operators can trace back to the originating YAML.