Skip to main content

build_human_assertions

Function build_human_assertions 

Source
pub fn build_human_assertions(
    suppressed: &[SuppressedOccurrence],
    product_ids: &BTreeMap<String, String>,
    warn_free_text: bool,
) -> Vec<HumanAssertion>
Expand description

Promote each suppressed occurrence (an ignore or vex_assertion) into a human not_affected (§6), shared by the VEX and SARIF paths. warn_free_text nudges once per advisory toward a machine justification label.