1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-01-16 05:16:08 +02:00
sap-jenkins-library/pkg
Jordi van Liempt af5b738982
feat(trustengine): Integrate Trust Engine into step config resolver (#5032)
* trust engine config and handelling for vault

* add function for resolving trust engine reference

* refactor

* add basic test

* adapt to new trust engine response format

* remove accidental cyclic dependency

* move trust engine hook config

* refactor by separating code from vault

* move trust engine files to own pkg

* adapt to changes of previous commit

* log full error response of trust engine API

* enable getting multiple tokens from trustengine

* remove comment

* incorporate review comments

* go generate

* update unit tests

* apply suggested changes from code review

* fix unit tests

* add unit tests for config pkg

* make changes based on review comments

* make trust engine token available in GeneralConfig and minor fixes

* fix error logic when reading trust engine hook

* make getResponse more flexible and update logging

* update resource reference format

* improve URL handling

* improve logging

* use errors.Wrap() instead of errors.Join()

* update log messages based on suggestions

* remove trustengine resource ref from Sonar step

---------

Co-authored-by: Keshav <anil.keshav@sap.com>
Co-authored-by: jliempt <>
2024-09-11 15:20:28 +02:00
..
abap Publish TargetVector enhanced retry (#4971) 2024-06-24 14:49:40 +02:00
abaputils OData V4 error message handling (#5013) 2024-08-16 13:41:23 +02:00
ado
ans chore(deps): Replace io/ioutil package (#4494) 2023-08-16 12:57:04 +02:00
apim chore(deps): Replace io/ioutil package (#4494) 2023-08-16 12:57:04 +02:00
asc chore(deps): Replace io/ioutil package (#4494) 2023-08-16 12:57:04 +02:00
blackduck Added pagination logic for retrieving projects from Black Duck server (#5031) 2024-09-05 09:36:14 +02:00
build Exposing build artifact metadata from maven and npm (#5008) 2024-08-27 08:24:38 +02:00
buildpacks chore(cnbBuild): simplify telemetry data (#4864) 2024-03-14 15:39:30 +01:00
buildsettings
certutils feat(artifactPrepareVersion): Support custom certificates (#4617) 2023-10-11 13:58:38 +06:00
checkmarx chore(deps): Replace io/ioutil package (#4494) 2023-08-16 12:57:04 +02:00
checkmarxone CxOne: Add param to tag scan and project (#4944) 2024-06-03 10:01:50 +02:00
cloudfoundry chore(deps): Replace io/ioutil package (#4494) 2023-08-16 12:57:04 +02:00
cnbutils Copy full project (#5033) 2024-09-06 14:27:17 +02:00
codeql refactor codeqlExecuteScan (#4888) 2024-04-16 11:35:56 +03:00
command update golang to 1.20 (#4783) 2024-01-22 10:18:32 +05:00
config feat(trustengine): Integrate Trust Engine into step config resolver (#5032) 2024-09-11 15:20:28 +02:00
contrast feat(contrastExecuteScan): new step contrastExecuteScan (#4818) 2024-03-21 10:13:59 +05:30
cpi chore(deps): Replace io/ioutil package (#4494) 2023-08-16 12:57:04 +02:00
docker feat(detectExecuteScan): Also scan images that are in the CPE (#4678) 2024-02-12 08:56:40 +01:00
documentation Add Vault resource to parameters (#4932) 2024-05-21 14:35:26 +05:00
events feat(gcpPublishEvent): Add additionalEventData param (#4928) 2024-05-17 08:24:31 +00:00
format Add new unified fields to Mend and Blackduck SARIF (#4611) 2023-10-17 11:48:52 +02:00
fortify feat(fortifyExecuteScan): Fortify proxy parameter (#4543) 2023-08-31 17:18:18 +05:30
gcp feat(gcpPublishEvent): Add additionalEventData param (#4928) 2024-05-17 08:24:31 +00:00
gcs
generator Update helper.go (#4874) 2024-04-22 13:02:08 +02:00
git fix(gitopsUpdateDeployment): take into account branch name when clonning (#4811) 2024-02-06 13:33:30 +05:00
github chore(refactor): Switch GitHub actions provider to use github sdk (#4563) 2023-09-20 09:38:45 +00:00
goget chore(deps): Replace io/ioutil package (#4494) 2023-08-16 12:57:04 +02:00
golang added logic of fetching golang private packages for whitesource step (#4595) 2023-10-06 16:22:26 +02:00
gradle
http fix(http): Use configured logger for retryClient (#5040) 2024-09-11 11:39:30 +02:00
influx chore(mockery): add mockery configuration (#4941) 2024-06-04 13:40:35 +02:00
java
jenkins chore(mockery): add mockery configuration (#4941) 2024-06-04 13:40:35 +02:00
kubernetes add --kube-context to uninstall command (#4999) 2024-07-29 19:48:56 +05:00
log Display workspace content for debugging (#4839) 2024-02-22 12:21:13 +03:00
malwarescan fix(malwareExecuteScan): add missing error handling (#4536) 2023-08-28 15:06:35 +02:00
maven support for sub-module in maven build (#4950) 2024-06-19 12:52:03 +05:30
mock Copy full project (#5033) 2024-09-06 14:27:17 +02:00
multiarch
nexus
npm Exposing build artifact metadata from maven and npm (#5008) 2024-08-27 08:24:38 +02:00
orchestrator Align jenkins username parameter throughout library (#5009) 2024-08-19 16:52:04 +05:00
piperenv chore(deps): Replace io/ioutil package (#4494) 2023-08-16 12:57:04 +02:00
piperutils Copy full project (#5033) 2024-09-06 14:27:17 +02:00
protecode chore(deps): Replace io/ioutil package (#4494) 2023-08-16 12:57:04 +02:00
reporting Fix security issues reported by Black Duck (#5014) 2024-08-27 13:47:51 +02:00
sonar
splunk Use Pendo as analytics tool (#4828) 2024-02-20 17:17:20 +06:00
syft (fix) syft, fixing cyclone dx version to sbom version 1.4 for syft (#4991) 2024-07-22 15:17:35 +02:00
telemetry chore(cnbBuild): simplify telemetry data (#4864) 2024-03-14 15:39:30 +01:00
terraform
tms Allow cALM service key for cTMS steps (#4661) 2023-11-27 14:28:18 +01:00
toolrecord toolrecord files: remove the timestamp from the filename (#4540) 2023-09-12 22:03:49 +05:30
transportrequest
trustengine feat(trustengine): Integrate Trust Engine into step config resolver (#5032) 2024-09-11 15:20:28 +02:00
validation
vault feat(vault): support complex data types in secrets (#5006) 2024-09-05 10:29:19 +02:00
versioning Exposing build artifact metadata from maven and npm (#5008) 2024-08-27 08:24:38 +02:00
whitesource Mend verbose mode improvements (#4982) 2024-07-10 16:02:14 +02:00
xsuaa chore(deps): Replace io/ioutil package (#4494) 2023-08-16 12:57:04 +02:00
yaml