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

@@ -137,6 +137,7 @@ class HandleRisk:
137
137
  dict_args["remote_config_repo"], "engine_risk/Exclusions.json", dict_args["remote_config_branch"]
138
138
  )
139
139
  pipeline_name = self.devops_platform_gateway.get_variable("pipeline_name")
140
+ definition_name = self.devops_platform_gateway.get_variable("definition_name")
140
141
 
141
142
  input_core = InputCore(
142
143
  [],
@@ -204,6 +205,14 @@ class HandleRisk:
204
205
  service_list += [engagement]
205
206
  break
206
207
 
208
+ if definition_name and definition_name.lower() != pipeline_name.lower():
209
+ build_engagements = self.vulnerability_management.get_active_engagements(
210
+ definition_name, dict_args, secret_tool, remote_config
211
+ )
212
+ for build_engagement in build_engagements:
213
+ if build_engagement.name.lower() == definition_name.lower():
214
+ service_list += [build_engagement]
215
+
207
216
  new_service_list = self._exclude_services(
208
217
  dict_args, pipeline_name, service_list
209
218
  )
@@ -92,6 +92,7 @@ class AzureDevops(DevopsPlatformGateway):
92
92
  "branch_name": BuildVariables.Build_SourceBranchName,
93
93
  "build_id": BuildVariables.Build_BuildNumber,
94
94
  "build_execution_id": BuildVariables.Build_BuildId,
95
+ "definition_name": BuildVariables.Build_DefinitionName,
95
96
  "commit_hash": BuildVariables.Build_SourceVersion,
96
97
  "environment": ReleaseVariables.Environment,
97
98
  "release_id": ReleaseVariables.Release_Releaseid,
@@ -69,6 +69,7 @@ class GithubActions(DevopsPlatformGateway):
69
69
  "branch_name": BuildVariables.github_ref,
70
70
  "build_id": BuildVariables.github_run_number,
71
71
  "build_execution_id": BuildVariables.github_run_id,
72
+ "definition_name": BuildVariables.github_workflow,
72
73
  "commit_hash": BuildVariables.github_sha,
73
74
  "environment": ReleaseVariables.github_env,
74
75
  "release_id": ReleaseVariables.github_run_number,
@@ -56,6 +56,7 @@ class RuntimeLocal(DevopsPlatformGateway):
56
56
  "branch_name" : "DET_BRANCH_NAME",
57
57
  "build_id" : "DET_BUILD_ID",
58
58
  "build_execution_id" : "DET_BUILD_EXECUTION_ID",
59
+ "definition_name" : "DET_DEFINITION_NAME",
59
60
  "commit_hash" : "DET_COMMIT_HASH",
60
61
  "environment" : "DET_ENVIRONMENT",
61
62
  "release_id" : "DET_RELEASE_ID",
@@ -1 +1 @@
1
- version = '1.96.0'
1
+ version = '1.97.0'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: devsecops-engine-tools
3
- Version: 1.96.0
3
+ Version: 1.97.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
@@ -61,7 +61,7 @@ Here are the channels we use to communicate about the project:
61
61
 
62
62
  # Getting Started
63
63
 
64
- Please follow our [Getting Started Guide](https://bancolombia.github.io/devsecops-engine-tools//docs/intro)
64
+ Please follow our [Getting Started Guide](https://bancolombia.github.io/devsecops-engine-tools/)
65
65
 
66
66
  # How can I help?
67
67
 
@@ -1,5 +1,5 @@
1
1
  devsecops_engine_tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- devsecops_engine_tools/version.py,sha256=Xkhdoetl5oCHV9j7kRBGZSvYze8ykrfJ6d5cnLPptxU,19
2
+ devsecops_engine_tools/version.py,sha256=CJSb_EZlwkPiB7Nw8JNT4VgqcCoKEwuQU16kDYxN3ME,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
@@ -27,7 +27,7 @@ devsecops_engine_tools/engine_core/src/domain/model/gateway/secrets_manager_gate
27
27
  devsecops_engine_tools/engine_core/src/domain/model/gateway/vulnerability_management_gateway.py,sha256=CB6KMjSNNgOEGdmzsxMLMMhs1MRf_C3GFsrEP77gOIo,1432
28
28
  devsecops_engine_tools/engine_core/src/domain/usecases/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
29
29
  devsecops_engine_tools/engine_core/src/domain/usecases/break_build.py,sha256=619MnIok_PAsgEinxBSioiveQYHuK6UidiUwRqpUWY8,11839
30
- devsecops_engine_tools/engine_core/src/domain/usecases/handle_risk.py,sha256=GmkHKC_RLrSRDQAyzZvQAoZ336kRo7J_eInfxe4utII,9626
30
+ devsecops_engine_tools/engine_core/src/domain/usecases/handle_risk.py,sha256=RMuQKBVq_3_j6_K5CdUWzDoSUHa20RwYw5_VJ8cbOko,10153
31
31
  devsecops_engine_tools/engine_core/src/domain/usecases/handle_scan.py,sha256=qZKz8jc5k3IEd97vsTXB-4dQOFaiOdPd9zawgPhSFV8,11432
32
32
  devsecops_engine_tools/engine_core/src/domain/usecases/metrics_manager.py,sha256=xfaGrDf9rnN32qG_zOD9NN-a62reqQ5KOd2bP6xoRnw,2417
33
33
  devsecops_engine_tools/engine_core/src/infrastructure/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -36,19 +36,19 @@ devsecops_engine_tools/engine_core/src/infrastructure/driven_adapters/aws/__init
36
36
  devsecops_engine_tools/engine_core/src/infrastructure/driven_adapters/aws/s3_manager.py,sha256=xLPwfh8FQzP5CldRj0ev8LsSxFO4A_i88EnNGBPuN2g,2210
37
37
  devsecops_engine_tools/engine_core/src/infrastructure/driven_adapters/aws/secrets_manager.py,sha256=ELihQBgSPH4f9QCyg2dgjudsFitaqgdsljnVOmaA_v4,1972
38
38
  devsecops_engine_tools/engine_core/src/infrastructure/driven_adapters/azure/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
39
- devsecops_engine_tools/engine_core/src/infrastructure/driven_adapters/azure/azure_devops.py,sha256=dKe8hno53uC7JDzRWeBdBeRbDHAasEYLxVaFSvWUVxU,5863
39
+ devsecops_engine_tools/engine_core/src/infrastructure/driven_adapters/azure/azure_devops.py,sha256=qErfsFIfcXQJlizxCWwi9V7qGXPYccp4e5SJgkD5mzY,5931
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=t1CTeQG2ePBwUdeNinSYEi3vyMjufD0KuHUIxRZCsAU,4370
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=zaotQSt3wSkI4X8M_CLkED5tL8qEA7S2cF3SW_-_Bzc,32627
44
44
  devsecops_engine_tools/engine_core/src/infrastructure/driven_adapters/github/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
45
- devsecops_engine_tools/engine_core/src/infrastructure/driven_adapters/github/github_actions.py,sha256=jK3Qtt0UfSX4wbE4wo4iY7a8v8u1pcQcWASWmJ7sFfk,4216
45
+ devsecops_engine_tools/engine_core/src/infrastructure/driven_adapters/github/github_actions.py,sha256=sko3NAnLcVeB1-2YQQQ7I8S9vK6MA2s2Ylv0XDv3T0E,4279
46
46
  devsecops_engine_tools/engine_core/src/infrastructure/driven_adapters/printer_pretty_table/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
47
47
  devsecops_engine_tools/engine_core/src/infrastructure/driven_adapters/printer_pretty_table/printer_pretty_table.py,sha256=NkXu7JYoCHXIx0HzHl4DhdLGEpocPMIqs2L0ADS-RcI,5369
48
48
  devsecops_engine_tools/engine_core/src/infrastructure/driven_adapters/printer_rich_table/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
49
49
  devsecops_engine_tools/engine_core/src/infrastructure/driven_adapters/printer_rich_table/printer_rich_table.py,sha256=LPr3xSv0I7ENEdu1xj8ve5PXzpUohs7hbQvHjDSaUuE,3028
50
50
  devsecops_engine_tools/engine_core/src/infrastructure/driven_adapters/runtime_local/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
51
- devsecops_engine_tools/engine_core/src/infrastructure/driven_adapters/runtime_local/runtime_local.py,sha256=KyWEzOqkT-Y8lrgnmndDxCVc6yvOqVVkogzn75TsWMw,3001
51
+ devsecops_engine_tools/engine_core/src/infrastructure/driven_adapters/runtime_local/runtime_local.py,sha256=gJ-xQU1kzdTaOQ2iDI8eW8Knjnc9mq2eFRSC3W14lx0,3056
52
52
  devsecops_engine_tools/engine_core/src/infrastructure/driven_adapters/syft/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
53
53
  devsecops_engine_tools/engine_core/src/infrastructure/driven_adapters/syft/syft.py,sha256=hP5MitHTeZf3Ia-xwi5bUdIU5hIwbUNuDSzcsqlxG5c,4457
54
54
  devsecops_engine_tools/engine_core/src/infrastructure/entry_points/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -269,7 +269,6 @@ devsecops_engine_tools/engine_utilities/azuredevops/models/AzureMessageLoggingPi
269
269
  devsecops_engine_tools/engine_utilities/azuredevops/models/AzurePredefinedVariables.py,sha256=z9AGtc64o-BNTngiowRJFBlXmo_JmWqenL8YxdLs0aE,2561
270
270
  devsecops_engine_tools/engine_utilities/azuredevops/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
271
271
  devsecops_engine_tools/engine_utilities/defect_dojo/__init__.py,sha256=P-HiaN1sgDUekalZPCzSTF-zuqyXpNG2uVEsMDaC0ro,462
272
- devsecops_engine_tools/engine_utilities/defect_dojo/hello_world.py,sha256=WDvgS22lIJJNoIM4b6mrxT8Bu_6hADmrCOZgvf5yGVY,45
273
272
  devsecops_engine_tools/engine_utilities/defect_dojo/applications/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
274
273
  devsecops_engine_tools/engine_utilities/defect_dojo/applications/component.py,sha256=Y6vA1nRfMCoqJEceRBDQ_QLpIKASqB-t8V1yqao-eUQ,1175
275
274
  devsecops_engine_tools/engine_utilities/defect_dojo/applications/connect.py,sha256=tRvNN-zVKBJbHMvfW97SCsZoyjGaKttcQhLOKrbjK9E,2079
@@ -368,8 +367,8 @@ devsecops_engine_tools/engine_utilities/utils/name_conversion.py,sha256=ADJrRGax
368
367
  devsecops_engine_tools/engine_utilities/utils/printers.py,sha256=amYAr9YQfYgR6jK9a2l26z3oovFPQ3FAKmhq6BKhEBA,623
369
368
  devsecops_engine_tools/engine_utilities/utils/session_manager.py,sha256=Z0fdhB3r-dxU0nGSD9zW_B4r2Qol1rUnUCkhFR0U-HQ,487
370
369
  devsecops_engine_tools/engine_utilities/utils/utils.py,sha256=HCjS900TBoNcHrC4LaiP-Kf9frVdtagF130qOUgnO2M,6757
371
- devsecops_engine_tools-1.96.0.dist-info/METADATA,sha256=Q6Mk2nrL6ceR737QdKtkK7gZs9vqwWvADvC0-dK6Nz0,3211
372
- devsecops_engine_tools-1.96.0.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
373
- devsecops_engine_tools-1.96.0.dist-info/entry_points.txt,sha256=OWAww5aBsGeMv0kWhSgVNB0ySKKpYuJd4dly0ikFPkc,283
374
- devsecops_engine_tools-1.96.0.dist-info/top_level.txt,sha256=ge6y0X_xBAU1aG3EMWFtl9djbVyg5BxuSp2r2Lg6EQU,23
375
- devsecops_engine_tools-1.96.0.dist-info/RECORD,,
370
+ devsecops_engine_tools-1.97.0.dist-info/METADATA,sha256=LbHN-j-JLQBhzQuGQhNsSEsYg3CLWzILLJ4Y2JKNR-s,3200
371
+ devsecops_engine_tools-1.97.0.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
372
+ devsecops_engine_tools-1.97.0.dist-info/entry_points.txt,sha256=OWAww5aBsGeMv0kWhSgVNB0ySKKpYuJd4dly0ikFPkc,283
373
+ devsecops_engine_tools-1.97.0.dist-info/top_level.txt,sha256=ge6y0X_xBAU1aG3EMWFtl9djbVyg5BxuSp2r2Lg6EQU,23
374
+ devsecops_engine_tools-1.97.0.dist-info/RECORD,,
@@ -1,2 +0,0 @@
1
- def hello_world(saludo):
2
- print(saludo)