Skip to content

Commit

Permalink
Configure deduplication algorithm for Kubehunter Scan and kube-bench … (
Browse files Browse the repository at this point in the history
#8881)

* Configure deduplication algorithm for Kubehunter Scan and kube-bench Scan

* Removing step_to_reproduce from HASHCODE_FIELDS_PER_SCANNER
  • Loading branch information
a-ruff authored Oct 30, 2023
1 parent 577dad0 commit a31c10e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dojo/settings/settings.dist.py
Original file line number Diff line number Diff line change
Expand Up @@ -1257,6 +1257,8 @@ def saml2_attrib_map_format(dict):
'Popeye Scan': ['title', 'description'],
'Wazuh Scan': ['title'],
'Nuclei Scan': ['title', 'cwe', 'severity'],
'KubeHunter Scan': ['title', 'description'],
'kube-bench Scan': ['title', 'vuln_id_from_tool', 'description'],
}

# Override the hardcoded settings here via the env var
Expand Down Expand Up @@ -1450,6 +1452,8 @@ def saml2_attrib_map_format(dict):
'Wpscan': DEDUPE_ALGO_HASH_CODE,
'Popeye Scan': DEDUPE_ALGO_HASH_CODE,
'Nuclei Scan': DEDUPE_ALGO_HASH_CODE,
'KubeHunter Scan': DEDUPE_ALGO_HASH_CODE,
'kube-bench Scan': DEDUPE_ALGO_HASH_CODE,
}

# Override the hardcoded settings here via the env var
Expand Down

0 comments on commit a31c10e

Please sign in to comment.