• Victor Zagorodny's avatar
    Add MergeReportsService w/ tests · 887812d6
    Victor Zagorodny authored
    MergeReportsService merges several security report
    POROs into one. This involves deduplicating
    vulnerability occurrences that share the same
    location, and at least one (identifier type,
    identifier value) pair, not including CWEs since
    CWE is not a identifier but rather a class of
    vulnerabilities. First found occurrence wins.
    Then, occurrences are sorted by severity (desc)
    and then by compare key (asc).
    887812d6
pipeline_spec.rb 16.6 KB