devsecops-engine-tools 1.117.0__py3-none-any.whl → 1.117.2__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 +9 -5
- devsecops_engine_tools/engine_utilities/defect_dojo/infraestructure/driver_adapters/cmdb.py +1 -1
- devsecops_engine_tools/version.py +1 -1
- {devsecops_engine_tools-1.117.0.dist-info → devsecops_engine_tools-1.117.2.dist-info}/METADATA +1 -1
- {devsecops_engine_tools-1.117.0.dist-info → devsecops_engine_tools-1.117.2.dist-info}/RECORD +8 -8
- {devsecops_engine_tools-1.117.0.dist-info → devsecops_engine_tools-1.117.2.dist-info}/WHEEL +0 -0
- {devsecops_engine_tools-1.117.0.dist-info → devsecops_engine_tools-1.117.2.dist-info}/entry_points.txt +0 -0
- {devsecops_engine_tools-1.117.0.dist-info → devsecops_engine_tools-1.117.2.dist-info}/top_level.txt +0 -0
devsecops_engine_tools/engine_core/src/infrastructure/driven_adapters/defect_dojo/defect_dojo.py
CHANGED
|
@@ -404,7 +404,7 @@ class DefectDojoPlatform(VulnerabilityManagementGateway):
|
|
|
404
404
|
|
|
405
405
|
if print_domain:
|
|
406
406
|
host_dd = print_domain
|
|
407
|
-
|
|
407
|
+
|
|
408
408
|
for engagement in engagements:
|
|
409
409
|
engagement.vm_url = f"{host_dd}/engagement/{engagement.id}/finding/open"
|
|
410
410
|
|
|
@@ -563,11 +563,16 @@ class DefectDojoPlatform(VulnerabilityManagementGateway):
|
|
|
563
563
|
"product_type_name": vulnerability_management.vm_product_type_name,
|
|
564
564
|
"product_name": vulnerability_management.vm_product_name,
|
|
565
565
|
"product_description": vulnerability_management.vm_product_description,
|
|
566
|
-
"code_app":
|
|
566
|
+
"code_app": Connect.get_code_app(
|
|
567
|
+
vulnerability_management.vm_product_name,
|
|
568
|
+
vulnerability_management.config_tool["VULNERABILITY_MANAGER"][
|
|
569
|
+
"DEFECT_DOJO"
|
|
570
|
+
]["CMDB"]["REGEX_EXPRESSION_CMDB"],
|
|
571
|
+
),
|
|
567
572
|
**common_fields,
|
|
568
573
|
}
|
|
569
574
|
)
|
|
570
|
-
|
|
575
|
+
|
|
571
576
|
return request
|
|
572
577
|
|
|
573
578
|
def _process_component(self, component_sbom, session_manager, engagement):
|
|
@@ -669,7 +674,7 @@ class DefectDojoPlatform(VulnerabilityManagementGateway):
|
|
|
669
674
|
findings = self._get_findings(
|
|
670
675
|
session_manager, service, max_retries, query_params
|
|
671
676
|
)
|
|
672
|
-
|
|
677
|
+
|
|
673
678
|
return map(
|
|
674
679
|
partial(
|
|
675
680
|
self._create_exclusion,
|
|
@@ -849,4 +854,3 @@ class DefectDojoPlatform(VulnerabilityManagementGateway):
|
|
|
849
854
|
return finding.file_path
|
|
850
855
|
else:
|
|
851
856
|
return finding.file_path
|
|
852
|
-
|
|
@@ -81,7 +81,7 @@ class CmdbRestConsumer:
|
|
|
81
81
|
)
|
|
82
82
|
|
|
83
83
|
return Utils().retries_requests(
|
|
84
|
-
make_request, 3, 5
|
|
84
|
+
make_request, request.cmdb_request_response.get("MAX_RETRIES", 3), request.cmdb_request_response.get("RETRY_DELAY", 5)
|
|
85
85
|
)
|
|
86
86
|
except Exception as e:
|
|
87
87
|
logger.warning(e)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
version = '1.117.
|
|
1
|
+
version = '1.117.2'
|
{devsecops_engine_tools-1.117.0.dist-info → devsecops_engine_tools-1.117.2.dist-info}/RECORD
RENAMED
|
@@ -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=3SS7HN2rTqM9MsKJUAfh5oGqARyWNAoLBpc2G-HIDSA,20
|
|
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
|
|
@@ -40,7 +40,7 @@ devsecops_engine_tools/engine_core/src/infrastructure/driven_adapters/azure/azur
|
|
|
40
40
|
devsecops_engine_tools/engine_core/src/infrastructure/driven_adapters/cdxgen/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
41
41
|
devsecops_engine_tools/engine_core/src/infrastructure/driven_adapters/cdxgen/cdxgen.py,sha256=ih-Zr-5mNaus6wS5tBPEZ57N6CRZ11z7Tjb7Hfj2iks,6360
|
|
42
42
|
devsecops_engine_tools/engine_core/src/infrastructure/driven_adapters/defect_dojo/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
43
|
-
devsecops_engine_tools/engine_core/src/infrastructure/driven_adapters/defect_dojo/defect_dojo.py,sha256=
|
|
43
|
+
devsecops_engine_tools/engine_core/src/infrastructure/driven_adapters/defect_dojo/defect_dojo.py,sha256=CbJbgDrisEez1i5Lx6mcra6Xh_JWjASm0fQ81yR7UdQ,33323
|
|
44
44
|
devsecops_engine_tools/engine_core/src/infrastructure/driven_adapters/github/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
45
45
|
devsecops_engine_tools/engine_core/src/infrastructure/driven_adapters/github/github_actions.py,sha256=Mt3ejrNHhkk8HIhQunMDnSW8Sn-65-yyXHGrFpaN744,4649
|
|
46
46
|
devsecops_engine_tools/engine_core/src/infrastructure/driven_adapters/printer_pretty_table/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -344,7 +344,7 @@ devsecops_engine_tools/engine_utilities/defect_dojo/domain/user_case/import_scan
|
|
|
344
344
|
devsecops_engine_tools/engine_utilities/defect_dojo/domain/user_case/product.py,sha256=6f6eABdC79zOopMe_Rif3XoGG-yFfq9x_EOkevTuGDY,368
|
|
345
345
|
devsecops_engine_tools/engine_utilities/defect_dojo/infraestructure/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
346
346
|
devsecops_engine_tools/engine_utilities/defect_dojo/infraestructure/driver_adapters/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
347
|
-
devsecops_engine_tools/engine_utilities/defect_dojo/infraestructure/driver_adapters/cmdb.py,sha256=
|
|
347
|
+
devsecops_engine_tools/engine_utilities/defect_dojo/infraestructure/driver_adapters/cmdb.py,sha256=XwZrRMC8AUcxiqSICpbCrOZiN_dkWaBtoFuVz652o1I,7203
|
|
348
348
|
devsecops_engine_tools/engine_utilities/defect_dojo/infraestructure/driver_adapters/component.py,sha256=-J0Sv7z709Hctb-tgM0wmp5ofE4WKEIA_uJwzvMnStE,2132
|
|
349
349
|
devsecops_engine_tools/engine_utilities/defect_dojo/infraestructure/driver_adapters/engagement.py,sha256=E6ilSQLOcJeBGYn_XXzJimUdi3l9vo0FpN1FhdNJV58,3866
|
|
350
350
|
devsecops_engine_tools/engine_utilities/defect_dojo/infraestructure/driver_adapters/finding.py,sha256=k-z2tg_NPKMni7rZgXMZa2-t8_8F35r8YtF1EcjMyDs,2355
|
|
@@ -408,8 +408,8 @@ devsecops_engine_tools/engine_utilities/utils/name_conversion.py,sha256=ADJrRGax
|
|
|
408
408
|
devsecops_engine_tools/engine_utilities/utils/printers.py,sha256=amYAr9YQfYgR6jK9a2l26z3oovFPQ3FAKmhq6BKhEBA,623
|
|
409
409
|
devsecops_engine_tools/engine_utilities/utils/session_manager.py,sha256=Z0fdhB3r-dxU0nGSD9zW_B4r2Qol1rUnUCkhFR0U-HQ,487
|
|
410
410
|
devsecops_engine_tools/engine_utilities/utils/utils.py,sha256=HCjS900TBoNcHrC4LaiP-Kf9frVdtagF130qOUgnO2M,6757
|
|
411
|
-
devsecops_engine_tools-1.117.
|
|
412
|
-
devsecops_engine_tools-1.117.
|
|
413
|
-
devsecops_engine_tools-1.117.
|
|
414
|
-
devsecops_engine_tools-1.117.
|
|
415
|
-
devsecops_engine_tools-1.117.
|
|
411
|
+
devsecops_engine_tools-1.117.2.dist-info/METADATA,sha256=Xru8wAX-dPjREQba6BDF3tHGkj1oOYkRPQMN2S-DUhg,3429
|
|
412
|
+
devsecops_engine_tools-1.117.2.dist-info/WHEEL,sha256=lTU6B6eIfYoiQJTZNc-fyaR6BpL6ehTzU3xGYxn2n8k,91
|
|
413
|
+
devsecops_engine_tools-1.117.2.dist-info/entry_points.txt,sha256=OWAww5aBsGeMv0kWhSgVNB0ySKKpYuJd4dly0ikFPkc,283
|
|
414
|
+
devsecops_engine_tools-1.117.2.dist-info/top_level.txt,sha256=ge6y0X_xBAU1aG3EMWFtl9djbVyg5BxuSp2r2Lg6EQU,23
|
|
415
|
+
devsecops_engine_tools-1.117.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
{devsecops_engine_tools-1.117.0.dist-info → devsecops_engine_tools-1.117.2.dist-info}/top_level.txt
RENAMED
|
File without changes
|