Skip to content

Commit 663f5b6

Browse files
committed
update
1 parent 0cd937c commit 663f5b6

File tree

4 files changed

+6
-60
lines changed

4 files changed

+6
-60
lines changed

docs/content/en/open_source/upgrading/2.48.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
title: 'Upgrading to DefectDojo Version 2.48.x'
33
toc_hide: true
44
weight: -20250602
5-
description: Recalculate hashes for MobSF parser
5+
description: No special instructions.
66
---
7-
### Merging Mobsfscan Scan and MobSF Scan
8-
9-
The two scan types Mobsfscan Scan and MobSF Scan were merged in this release. Thus, please use MobSF Scan instead of Mobsfscan Scan in the future. We recommend to recalculate the hashcodes if you use these parsers as the deduplication settings have been changed.
7+
There are no special instructions for upgrading to 2.48.x. Check the [Release Notes](https://github.com/DefectDojo/django-DefectDojo/releases/tag/2.48.0) for the contents of the release.

dojo/db_migrations/0230_merge_mobsf.py

Lines changed: 0 additions & 55 deletions
This file was deleted.

dojo/settings/settings.dist.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1262,6 +1262,7 @@ def saml2_attrib_map_format(din):
12621262
"Dockle Scan": ["title", "description", "vuln_id_from_tool"],
12631263
"Dependency Track Finding Packaging Format (FPF) Export": ["component_name", "component_version", "vulnerability_ids"],
12641264
"Horusec Scan": ["title", "description", "file_path", "line"],
1265+
"Mobsfscan Scan": ["title", "severity", "cwe", "file_path", "description"],
12651266
"Tenable Scan": ["title", "severity", "vulnerability_ids", "cwe", "description"],
12661267
"Nexpose Scan": ["title", "severity", "vulnerability_ids", "cwe"],
12671268
# possible improvement: in the scanner put the library name into file_path, then dedup on cwe + file_path + severity
@@ -1380,6 +1381,7 @@ def saml2_attrib_map_format(din):
13801381
"Cloudsploit Scan": True,
13811382
"SonarQube Scan": False,
13821383
"Dependency Check Scan": True,
1384+
"Mobsfscan Scan": False,
13831385
"Tenable Scan": True,
13841386
"Nexpose Scan": True,
13851387
"NPM Audit Scan": True,
@@ -1488,6 +1490,7 @@ def saml2_attrib_map_format(din):
14881490
"Crunch42 Scan": DEDUPE_ALGO_UNIQUE_ID_FROM_TOOL,
14891491
"Dependency Track Finding Packaging Format (FPF) Export": DEDUPE_ALGO_HASH_CODE,
14901492
"Horusec Scan": DEDUPE_ALGO_HASH_CODE,
1493+
"Mobsfscan Scan": DEDUPE_ALGO_HASH_CODE,
14911494
"SonarQube Scan detailed": DEDUPE_ALGO_UNIQUE_ID_FROM_TOOL,
14921495
"SonarQube Scan": DEDUPE_ALGO_HASH_CODE,
14931496
"SonarQube API Import": DEDUPE_ALGO_HASH_CODE,

dojo/tools/mobsf/parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
class MobSFParser:
99

1010
def get_scan_types(self):
11-
return ["MobSF Scan"]
11+
return ["MobSF Scan", "Mobsfscan Scan"]
1212

1313
def get_label_for_scan_types(self, scan_type):
1414
return "MobSF Scan"

0 commit comments

Comments
 (0)