Skip to content

Commit 1ca467f

Browse files
committed
update
1 parent 3fc743c commit 1ca467f

3 files changed

Lines changed: 4 additions & 56 deletions

File tree

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
@@ -1264,6 +1264,7 @@ def saml2_attrib_map_format(din):
12641264
"Dockle Scan": ["title", "description", "vuln_id_from_tool"],
12651265
"Dependency Track Finding Packaging Format (FPF) Export": ["component_name", "component_version", "vulnerability_ids"],
12661266
"Horusec Scan": ["title", "description", "file_path", "line"],
1267+
"Mobsfscan Scan": ["title", "severity", "cwe", "file_path", "description"],
12671268
"Tenable Scan": ["title", "severity", "vulnerability_ids", "cwe", "description"],
12681269
"Nexpose Scan": ["title", "severity", "vulnerability_ids", "cwe"],
12691270
# possible improvement: in the scanner put the library name into file_path, then dedup on cwe + file_path + severity
@@ -1383,6 +1384,7 @@ def saml2_attrib_map_format(din):
13831384
"Cloudsploit Scan": True,
13841385
"SonarQube Scan": False,
13851386
"Dependency Check Scan": True,
1387+
"Mobsfscan Scan": False,
13861388
"Tenable Scan": True,
13871389
"Nexpose Scan": True,
13881390
"NPM Audit Scan": True,
@@ -1492,6 +1494,7 @@ def saml2_attrib_map_format(din):
14921494
"Crunch42 Scan": DEDUPE_ALGO_UNIQUE_ID_FROM_TOOL,
14931495
"Dependency Track Finding Packaging Format (FPF) Export": DEDUPE_ALGO_HASH_CODE,
14941496
"Horusec Scan": DEDUPE_ALGO_HASH_CODE,
1497+
"Mobsfscan Scan": DEDUPE_ALGO_HASH_CODE,
14951498
"SonarQube Scan detailed": DEDUPE_ALGO_UNIQUE_ID_FROM_TOOL,
14961499
"SonarQube Scan": DEDUPE_ALGO_HASH_CODE,
14971500
"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)