Skip to content

Commit

Permalink
🐛 fix for wpscan
Browse files Browse the repository at this point in the history
  • Loading branch information
quirinziessler committed Oct 31, 2022
1 parent 1901e2b commit 9164884
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dojo/settings/settings.dist.py
Original file line number Diff line number Diff line change
Expand Up @@ -1205,6 +1205,7 @@ def saml2_attrib_map_format(dict):
'Twistlock Image Scan': ['title', 'severity', 'component_name', 'component_version'],
'NeuVector (REST)': ['title', 'severity', 'component_name', 'component_version'],
'NeuVector (compliance)': ['title', 'vuln_id_from_tool', 'description'],
'Wpscan': ['title', 'description', 'severity'],
}

# This tells if we should accept cwe=0 when computing hash_code with a configurable list of fields from HASHCODE_FIELDS_PER_SCANNER (this setting doesn't apply to legacy algorithm)
Expand Down Expand Up @@ -1245,7 +1246,8 @@ def saml2_attrib_map_format(dict):
'Edgescan Scan': True,
'Bugcrowd API': True,
'Veracode SourceClear Scan': True,
'Twistlock Image Scan': True
'Twistlock Image Scan': True,
'Wpscan': True,
}

# List of fields that are known to be usable in hash_code computation)
Expand Down Expand Up @@ -1371,6 +1373,7 @@ def saml2_attrib_map_format(dict):
'Twistlock Image Scan': DEDUPE_ALGO_HASH_CODE,
'NeuVector (REST)': DEDUPE_ALGO_HASH_CODE,
'NeuVector (compliance)': DEDUPE_ALGO_HASH_CODE,
'Wpscan': DEDUPE_ALGO_HASH_CODE,
}

DUPE_DELETE_MAX_PER_RUN = env('DD_DUPE_DELETE_MAX_PER_RUN')
Expand Down

0 comments on commit 9164884

Please sign in to comment.