devsecops-engine-tools 1.116.3__py3-none-any.whl → 1.117.1__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.

@@ -32,6 +32,7 @@ class CdxGen(SbomManagerGateway):
32
32
  recurse = config["CDXGEN"].get("RECURSE", True)
33
33
  install_deps = config["CDXGEN"].get("INSTALL_DEPENDENCIES", True)
34
34
  debug_pipelines = config["CDXGEN"].get("DEBUG_PIPELINES", [])
35
+ lifecycle_pipelines = config["CDXGEN"].get("LIFECYCLE_PIPELINES", {})
35
36
 
36
37
  enable_debug = service_name in debug_pipelines if debug_pipelines else False
37
38
  if enable_debug:
@@ -63,13 +64,13 @@ class CdxGen(SbomManagerGateway):
63
64
  logger.warning(f"{os_platform} is not supported.")
64
65
  return None
65
66
 
66
- result_sbom = self._run_cdxgen(command_prefix, artifact, service_name, exclude_types, exclude_paths, recurse, install_deps, enable_debug)
67
+ result_sbom = self._run_cdxgen(command_prefix, artifact, service_name, exclude_types, exclude_paths, recurse, install_deps, lifecycle_pipelines, enable_debug)
67
68
  return get_list_component(result_sbom, config["CDXGEN"]["OUTPUT_FORMAT"])
68
69
  except Exception as e:
69
70
  logger.error(f"Error generating SBOM: {e}")
70
71
  return None
71
72
 
72
- def _run_cdxgen(self, command_prefix, artifact, service_name, exclude_types, exclude_paths, recurse, install_deps, enable_debug=False):
73
+ def _run_cdxgen(self, command_prefix, artifact, service_name, exclude_types, exclude_paths, recurse, install_deps, lifecycle_pipelines, enable_debug=False):
73
74
  result_file = f"{service_name}_SBOM.json"
74
75
  command = [
75
76
  command_prefix,
@@ -89,6 +90,11 @@ class CdxGen(SbomManagerGateway):
89
90
  command.extend(
90
91
  ["--exclude", ex]
91
92
  )
93
+
94
+ if lifecycle_pipelines.get(service_name):
95
+ command.extend(
96
+ ["--lifecycle", lifecycle_pipelines.get(service_name)]
97
+ )
92
98
 
93
99
  if not recurse:
94
100
  command.append(
@@ -97,7 +103,7 @@ class CdxGen(SbomManagerGateway):
97
103
 
98
104
  if not install_deps:
99
105
  command.append(
100
- "--install-deps false"
106
+ "--no-install-deps"
101
107
  )
102
108
 
103
109
  try:
@@ -1 +1 @@
1
- version = '1.116.3'
1
+ version = '1.117.1'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: devsecops-engine-tools
3
- Version: 1.116.3
3
+ Version: 1.117.1
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=Yww6P45Gz722EaxkeQ_JtcESFG35P_V7NxHcOEuobKE,20
2
+ devsecops_engine_tools/version.py,sha256=Hb0M6ti5rMQ_qn_kTx1G2PUYFy6XuJkIRXNjMXcZdrk,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
@@ -38,7 +38,7 @@ devsecops_engine_tools/engine_core/src/infrastructure/driven_adapters/aws/secret
38
38
  devsecops_engine_tools/engine_core/src/infrastructure/driven_adapters/azure/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
39
39
  devsecops_engine_tools/engine_core/src/infrastructure/driven_adapters/azure/azure_devops.py,sha256=bbzonI501EUTM77uDZpvWeGqJoOaYq45Rw4dWpsTozY,6300
40
40
  devsecops_engine_tools/engine_core/src/infrastructure/driven_adapters/cdxgen/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
41
- devsecops_engine_tools/engine_core/src/infrastructure/driven_adapters/cdxgen/cdxgen.py,sha256=RMTnn8PCaAdbrcayPn0ZbTUkDZWFi3A1AIvQokiKmHg,6075
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
43
  devsecops_engine_tools/engine_core/src/infrastructure/driven_adapters/defect_dojo/defect_dojo.py,sha256=GXz-xBxptaZsQU8sR9OTcDAvdIygXmiLfmMIWhlC-hs,33105
44
44
  devsecops_engine_tools/engine_core/src/infrastructure/driven_adapters/github/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -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.116.3.dist-info/METADATA,sha256=wqeZx_MTVe8cCOj7AE6kbqzLXv-CW_Gw3XQZivnSG0w,3429
412
- devsecops_engine_tools-1.116.3.dist-info/WHEEL,sha256=lTU6B6eIfYoiQJTZNc-fyaR6BpL6ehTzU3xGYxn2n8k,91
413
- devsecops_engine_tools-1.116.3.dist-info/entry_points.txt,sha256=OWAww5aBsGeMv0kWhSgVNB0ySKKpYuJd4dly0ikFPkc,283
414
- devsecops_engine_tools-1.116.3.dist-info/top_level.txt,sha256=ge6y0X_xBAU1aG3EMWFtl9djbVyg5BxuSp2r2Lg6EQU,23
415
- devsecops_engine_tools-1.116.3.dist-info/RECORD,,
411
+ devsecops_engine_tools-1.117.1.dist-info/METADATA,sha256=Eb-WGo-nWHEcanI536PI3LDUgO1oN8YGrIn3Pg4Z2XU,3429
412
+ devsecops_engine_tools-1.117.1.dist-info/WHEEL,sha256=lTU6B6eIfYoiQJTZNc-fyaR6BpL6ehTzU3xGYxn2n8k,91
413
+ devsecops_engine_tools-1.117.1.dist-info/entry_points.txt,sha256=OWAww5aBsGeMv0kWhSgVNB0ySKKpYuJd4dly0ikFPkc,283
414
+ devsecops_engine_tools-1.117.1.dist-info/top_level.txt,sha256=ge6y0X_xBAU1aG3EMWFtl9djbVyg5BxuSp2r2Lg6EQU,23
415
+ devsecops_engine_tools-1.117.1.dist-info/RECORD,,