devsecops-engine-tools 1.20.0__py3-none-any.whl → 1.21.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of devsecops-engine-tools might be problematic. Click here for more details.
- devsecops_engine_tools/engine_core/src/infrastructure/driven_adapters/defect_dojo/defect_dojo.py +2 -1
- devsecops_engine_tools/engine_utilities/sonarqube/src/infrastructure/entry_points/entry_point_report_sonar.py +7 -3
- devsecops_engine_tools/version.py +1 -1
- {devsecops_engine_tools-1.20.0.dist-info → devsecops_engine_tools-1.21.0.dist-info}/METADATA +1 -1
- {devsecops_engine_tools-1.20.0.dist-info → devsecops_engine_tools-1.21.0.dist-info}/RECORD +8 -8
- {devsecops_engine_tools-1.20.0.dist-info → devsecops_engine_tools-1.21.0.dist-info}/WHEEL +0 -0
- {devsecops_engine_tools-1.20.0.dist-info → devsecops_engine_tools-1.21.0.dist-info}/entry_points.txt +0 -0
- {devsecops_engine_tools-1.20.0.dist-info → devsecops_engine_tools-1.21.0.dist-info}/top_level.txt +0 -0
devsecops_engine_tools/engine_core/src/infrastructure/driven_adapters/defect_dojo/defect_dojo.py
CHANGED
|
@@ -243,7 +243,7 @@ class DefectDojoPlatform(VulnerabilityManagementGateway):
|
|
|
243
243
|
self.FALSE_POSITIVE,
|
|
244
244
|
)
|
|
245
245
|
|
|
246
|
-
|
|
246
|
+
exclusions_out_of_scope = self._get_findings_with_exclusions(
|
|
247
247
|
session_manager,
|
|
248
248
|
service,
|
|
249
249
|
dd_max_retries,
|
|
@@ -266,6 +266,7 @@ class DefectDojoPlatform(VulnerabilityManagementGateway):
|
|
|
266
266
|
return (
|
|
267
267
|
list(exclusions_risk_accepted)
|
|
268
268
|
+ list(exclusions_false_positive)
|
|
269
|
+
+ list(exclusions_out_of_scope)
|
|
269
270
|
+ list(exclusions_transfer_finding)
|
|
270
271
|
)
|
|
271
272
|
except Exception as ex:
|
|
@@ -26,8 +26,9 @@ def init_report_sonar(vulnerability_management_gateway, secrets_manager_gateway,
|
|
|
26
26
|
branch = devops_platform_gateway.get_variable("branch_name")
|
|
27
27
|
is_valid_pipeline = not re.match(report_config_tool["IGNORE_SEARCH_PATTERN"], pipeline_name, re.IGNORECASE)
|
|
28
28
|
is_valid_branch = branch in report_config_tool["TARGET_BRANCHES"]
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
is_enabled = config_tool["REPORT_SONAR"]["ENABLED"] == "true"
|
|
30
|
+
|
|
31
|
+
if is_enabled and is_valid_pipeline and is_valid_branch:
|
|
31
32
|
input_core = ReportSonar(
|
|
32
33
|
vulnerability_management_gateway,
|
|
33
34
|
secrets_manager_gateway,
|
|
@@ -40,7 +41,10 @@ def init_report_sonar(vulnerability_management_gateway, secrets_manager_gateway,
|
|
|
40
41
|
config_tool, input_core, {"tool": "report_sonar"}, ""
|
|
41
42
|
)
|
|
42
43
|
else:
|
|
44
|
+
if not is_enabled: message = "DevSecOps Engine Tool - {0} in maintenance...".format("report_sonar")
|
|
45
|
+
else: message = "Tool skipped by DevSecOps policy"
|
|
46
|
+
|
|
43
47
|
print(
|
|
44
48
|
devops_platform_gateway.message(
|
|
45
|
-
"warning",
|
|
49
|
+
"warning", message),
|
|
46
50
|
)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
version = '1.
|
|
1
|
+
version = '1.21.0'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
devsecops_engine_tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
devsecops_engine_tools/version.py,sha256=
|
|
2
|
+
devsecops_engine_tools/version.py,sha256=dyB7JXNA2swT02HRC3POdWF2g3dW6aftlCg32kNc1Fw,19
|
|
3
3
|
devsecops_engine_tools/engine_core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
devsecops_engine_tools/engine_core/src/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
5
|
devsecops_engine_tools/engine_core/src/applications/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -36,7 +36,7 @@ devsecops_engine_tools/engine_core/src/infrastructure/driven_adapters/aws/secret
|
|
|
36
36
|
devsecops_engine_tools/engine_core/src/infrastructure/driven_adapters/azure/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
37
37
|
devsecops_engine_tools/engine_core/src/infrastructure/driven_adapters/azure/azure_devops.py,sha256=blI4ZrquRE4y6DJ7N2YRx1nL0wrAXvdpx0fLSUf5qwA,4831
|
|
38
38
|
devsecops_engine_tools/engine_core/src/infrastructure/driven_adapters/defect_dojo/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
39
|
-
devsecops_engine_tools/engine_core/src/infrastructure/driven_adapters/defect_dojo/defect_dojo.py,sha256=
|
|
39
|
+
devsecops_engine_tools/engine_core/src/infrastructure/driven_adapters/defect_dojo/defect_dojo.py,sha256=aXWW0np_1GmbezPXbZKEJ8HGKdjCouM84GEexa5bKk8,20772
|
|
40
40
|
devsecops_engine_tools/engine_core/src/infrastructure/driven_adapters/github/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
41
41
|
devsecops_engine_tools/engine_core/src/infrastructure/driven_adapters/github/github_actions.py,sha256=pxlgjhX4-Dssn-XHKK8AdCOj6Ry6VcQtoDf5q8CxTks,3731
|
|
42
42
|
devsecops_engine_tools/engine_core/src/infrastructure/driven_adapters/printer_pretty_table/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -294,7 +294,7 @@ devsecops_engine_tools/engine_utilities/sonarqube/src/infrastructure/driven_adap
|
|
|
294
294
|
devsecops_engine_tools/engine_utilities/sonarqube/src/infrastructure/driven_adapters/sonarqube/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
295
295
|
devsecops_engine_tools/engine_utilities/sonarqube/src/infrastructure/driven_adapters/sonarqube/sonarqube_report.py,sha256=eKzxONP3pP4d2MIknC5sGVuxcHzgelt5D0Kun88WBMo,4514
|
|
296
296
|
devsecops_engine_tools/engine_utilities/sonarqube/src/infrastructure/entry_points/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
297
|
-
devsecops_engine_tools/engine_utilities/sonarqube/src/infrastructure/entry_points/entry_point_report_sonar.py,sha256=
|
|
297
|
+
devsecops_engine_tools/engine_utilities/sonarqube/src/infrastructure/entry_points/entry_point_report_sonar.py,sha256=Q5R-O6KbU6qb7-U3dtdhBiHvs9j9X1TFlG5F4Zmxz3A,2173
|
|
298
298
|
devsecops_engine_tools/engine_utilities/sonarqube/src/infrastructure/helpers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
299
299
|
devsecops_engine_tools/engine_utilities/sonarqube/src/infrastructure/helpers/utils.py,sha256=SGOWrkzQrvOt9bRhhSfgiMzj1695e1W0B9ox9C1ihQI,294
|
|
300
300
|
devsecops_engine_tools/engine_utilities/ssh/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -308,8 +308,8 @@ devsecops_engine_tools/engine_utilities/utils/name_conversion.py,sha256=ADJrRGax
|
|
|
308
308
|
devsecops_engine_tools/engine_utilities/utils/printers.py,sha256=amYAr9YQfYgR6jK9a2l26z3oovFPQ3FAKmhq6BKhEBA,623
|
|
309
309
|
devsecops_engine_tools/engine_utilities/utils/session_manager.py,sha256=yNtlT-8Legz1sHbGPH8LNYjL-LgDUE0zXG2rYjiab7U,290
|
|
310
310
|
devsecops_engine_tools/engine_utilities/utils/utils.py,sha256=79nXjjRjR64xvXmQzJqFpDj5xByrqQbc6OnowHqBEz4,1756
|
|
311
|
-
devsecops_engine_tools-1.
|
|
312
|
-
devsecops_engine_tools-1.
|
|
313
|
-
devsecops_engine_tools-1.
|
|
314
|
-
devsecops_engine_tools-1.
|
|
315
|
-
devsecops_engine_tools-1.
|
|
311
|
+
devsecops_engine_tools-1.21.0.dist-info/METADATA,sha256=ZvbQcgJ3B_WjQshEKyhL5355wWrCCDWKyHCbqIMXZEg,10895
|
|
312
|
+
devsecops_engine_tools-1.21.0.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
|
|
313
|
+
devsecops_engine_tools-1.21.0.dist-info/entry_points.txt,sha256=MHCTFFs9bdNKo6YcWCcBW2_8X6yTisgLOlmVx-V8Rxc,276
|
|
314
|
+
devsecops_engine_tools-1.21.0.dist-info/top_level.txt,sha256=ge6y0X_xBAU1aG3EMWFtl9djbVyg5BxuSp2r2Lg6EQU,23
|
|
315
|
+
devsecops_engine_tools-1.21.0.dist-info/RECORD,,
|
|
File without changes
|
{devsecops_engine_tools-1.20.0.dist-info → devsecops_engine_tools-1.21.0.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{devsecops_engine_tools-1.20.0.dist-info → devsecops_engine_tools-1.21.0.dist-info}/top_level.txt
RENAMED
|
File without changes
|