devsecops-engine-tools 1.26.4__py3-none-any.whl → 1.27.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.

@@ -71,29 +71,22 @@ class DependencyCheckTool(ToolGateway):
71
71
  command_prefix,
72
72
  "--format",
73
73
  "XML",
74
- "--nvdApiKey",
75
- token,
76
74
  "--scan",
77
75
  file_to_scan,
78
- "--noupdate"
79
76
  ]
80
77
 
81
- if not token:
82
- print(
83
- "¡¡Remember!!, it is recommended to use the API key for faster vulnerability database downloads."
84
- )
85
- command = [
86
- command_prefix,
87
- "--format",
88
- "XML",
89
- "--scan",
90
- file_to_scan,
91
- "--noupdate"
92
- ]
93
-
94
- subprocess.run(command, capture_output=True, check=True)
95
- except subprocess.CalledProcessError as error:
96
- logger.error(f"Error executing OWASP dependency check scan: {error}")
78
+ if token:
79
+ command.extend([
80
+ "--nvdApiKey",
81
+ token
82
+ ])
83
+
84
+ if not self.download_tool:
85
+ command.append("--noupdate")
86
+
87
+ result = subprocess.run(command, capture_output=True, check=True, text=True)
88
+ except subprocess.CalledProcessError as e:
89
+ logger.error(f"Error executing OWASP dependency check scan: {e.stderr}")
97
90
 
98
91
  def select_operative_system(self, cli_version):
99
92
  os_platform = platform.system()
@@ -1 +1 @@
1
- version = '1.26.4'
1
+ version = '1.27.0'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: devsecops-engine-tools
3
- Version: 1.26.4
3
+ Version: 1.27.0
4
4
  Summary: Tool for DevSecOps strategy
5
5
  Home-page: https://github.com/bancolombia/devsecops-engine-tools
6
6
  Author: Bancolombia DevSecOps Team
@@ -1,5 +1,5 @@
1
1
  devsecops_engine_tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- devsecops_engine_tools/version.py,sha256=gLae3Y6jRas67bqPxS56HhxeSc7142Hj_pupugBT_b8,19
2
+ devsecops_engine_tools/version.py,sha256=jZYoHokd7H59HkjoCbCwKn-B-m3HswmyR0ok4JV4mUM,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
@@ -211,7 +211,7 @@ devsecops_engine_tools/engine_sca/engine_dependencies/src/infrastructure/__init_
211
211
  devsecops_engine_tools/engine_sca/engine_dependencies/src/infrastructure/driven_adapters/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
212
212
  devsecops_engine_tools/engine_sca/engine_dependencies/src/infrastructure/driven_adapters/dependency_check/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
213
213
  devsecops_engine_tools/engine_sca/engine_dependencies/src/infrastructure/driven_adapters/dependency_check/dependency_check_deserialize.py,sha256=ptNRUxAjTfPf_kkafC2SlLCD6Loddf4que6pxipJNO4,7210
214
- devsecops_engine_tools/engine_sca/engine_dependencies/src/infrastructure/driven_adapters/dependency_check/dependency_check_tool.py,sha256=T34iL4zFjyWYrRKDR0I6dfrXCyzIRM1nrqck4ubXm_w,5121
214
+ devsecops_engine_tools/engine_sca/engine_dependencies/src/infrastructure/driven_adapters/dependency_check/dependency_check_tool.py,sha256=bU2u__bgV_MmwB8JCVAq1NHvkKfMV2-mFkteQ2iA-j8,4864
215
215
  devsecops_engine_tools/engine_sca/engine_dependencies/src/infrastructure/driven_adapters/xray_tool/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
216
216
  devsecops_engine_tools/engine_sca/engine_dependencies/src/infrastructure/driven_adapters/xray_tool/xray_deserialize_output.py,sha256=ZUk-e1PKzV7uRAT7BpET363pgl2eMnXMCGSpewsOpKg,2236
217
217
  devsecops_engine_tools/engine_sca/engine_dependencies/src/infrastructure/driven_adapters/xray_tool/xray_manager_scan.py,sha256=u8SAtVuTqJ6o2B6jC-gMNG2Pn7a_bHWT_B1a_55iYZ4,7408
@@ -318,8 +318,8 @@ devsecops_engine_tools/engine_utilities/utils/name_conversion.py,sha256=ADJrRGax
318
318
  devsecops_engine_tools/engine_utilities/utils/printers.py,sha256=amYAr9YQfYgR6jK9a2l26z3oovFPQ3FAKmhq6BKhEBA,623
319
319
  devsecops_engine_tools/engine_utilities/utils/session_manager.py,sha256=Z0fdhB3r-dxU0nGSD9zW_B4r2Qol1rUnUCkhFR0U-HQ,487
320
320
  devsecops_engine_tools/engine_utilities/utils/utils.py,sha256=iee9n5lt78bxTGWLzQjwBSfmKKjKOS2PdLR7jg7tR5A,5858
321
- devsecops_engine_tools-1.26.4.dist-info/METADATA,sha256=BSHQHoV5KIlFhomxZaL7Uebo0anXvrBA_YVFOg9qqcI,11010
322
- devsecops_engine_tools-1.26.4.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
323
- devsecops_engine_tools-1.26.4.dist-info/entry_points.txt,sha256=MHCTFFs9bdNKo6YcWCcBW2_8X6yTisgLOlmVx-V8Rxc,276
324
- devsecops_engine_tools-1.26.4.dist-info/top_level.txt,sha256=ge6y0X_xBAU1aG3EMWFtl9djbVyg5BxuSp2r2Lg6EQU,23
325
- devsecops_engine_tools-1.26.4.dist-info/RECORD,,
321
+ devsecops_engine_tools-1.27.0.dist-info/METADATA,sha256=fkxW6URO-dur0lKOf_SZhiCWoKi5uX0ux-BFU6vplo0,11010
322
+ devsecops_engine_tools-1.27.0.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
323
+ devsecops_engine_tools-1.27.0.dist-info/entry_points.txt,sha256=MHCTFFs9bdNKo6YcWCcBW2_8X6yTisgLOlmVx-V8Rxc,276
324
+ devsecops_engine_tools-1.27.0.dist-info/top_level.txt,sha256=ge6y0X_xBAU1aG3EMWFtl9djbVyg5BxuSp2r2Lg6EQU,23
325
+ devsecops_engine_tools-1.27.0.dist-info/RECORD,,