Commit 34cf1bd
committed
feat(parsers): configure Xygeni deduplication algorithms
Wire the three Xygeni scan types into DEDUPLICATION_ALGORITHM_PER_PARSER
in settings.dist.py so re-imports dedup against the vendor-stable
uniqueHash instead of the legacy heuristic:
- Xygeni SAST Scan, Xygeni Secrets Scan: DEDUPE_ALGO_UNIQUE_ID_FROM_TOOL.
- Xygeni SCA Scan: DEDUPE_ALGO_UNIQUE_ID_FROM_TOOL_OR_HASH_CODE with
HASHCODE_FIELDS_PER_SCANNER set to (vulnerability_ids, component_name,
component_version) and HASHCODE_ALLOWS_NULL_CWE: True, enabling
cross-tool dedup with other SCA parsers when a CVE matches a package
at the same version.
Document the per-scan-type algorithm in the parser docs page.
Refs: #147551 parent 0f3942c commit 34cf1bd
2 files changed
Lines changed: 20 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1512 | 1512 | | |
1513 | 1513 | | |
1514 | 1514 | | |
| 1515 | + | |
1515 | 1516 | | |
1516 | 1517 | | |
1517 | 1518 | | |
| |||
1586 | 1587 | | |
1587 | 1588 | | |
1588 | 1589 | | |
| 1590 | + | |
1589 | 1591 | | |
1590 | 1592 | | |
1591 | 1593 | | |
| |||
1781 | 1783 | | |
1782 | 1784 | | |
1783 | 1785 | | |
| 1786 | + | |
| 1787 | + | |
| 1788 | + | |
1784 | 1789 | | |
1785 | 1790 | | |
1786 | 1791 | | |
| |||
0 commit comments