1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-01-16 05:16:08 +02:00
sap-jenkins-library/pkg
thtri cd20114ca4
CxONE: search project name by exact match (#5187)
* Initial in progress

* compiling but not yet functional

* Missed file

* updated checkmarxone step

* Working up to fetching a project then breaks

* Missed file

* Breaks when retrieving projects+proxy set

* Create project & run scan working, now polling

* Fixed polling

* added back the zipfile remove command

* Fixed polling again

* Generates and downloads PDF report

* Updated and working, prep for refactor

* Added compliance steps

* Cleanup, reporting, added groovy connector

* fixed groovy file

* checkmarxone to checkmarxOne

* checkmarxone to checkmarxOne

* split credentials (id+secret, apikey), renamed pullrequestname to branch, groovy fix

* Fixed filenames & yaml

* missed the metadata_generated.go

* added json to sarif conversion

* fix:type in new checkmarxone package

* fix:type in new checkmarxone package

* removed test logs, added temp error log for creds

* extra debugging to fix crash

* improved auth logging, fixed query parse issue

* fixed bug with group fetch when using oauth user

* CWE can be -1 if not defined, can't be uint

* Query also had CweID

* Disabled predicates-fetch in sarif generation

* Removing leftover info log message

* Better error handling

* fixed default preset configuration

* removing .bat files - sorry

* Cleanup per initial review

* refactoring per Gist, fixed project find, add apps

* small fix - sorry for commit noise while testing

* Fixing issues with incremental scans.

* removing maxretries

* Updated per PR feedback, further changes todo toda

* JSON Report changes and reporting cleanup

* removing .bat (again?)

* adding docs, groovy unit test, linter fixes

* Started adding tests maybe 15% covered

* fix(checkmarxOne): test cases for pkg and reporting

* fix(checkmarxOne):fix formatting

* feat(checkmarxone): update interface with missing method

* feat(checkmarxone):change runStep signature to be able to inject dependency

* feat(checkmarxone): add tests for step (wip)

* Adding a bit more coverage

* feat(checkmarxOne): fix code review

* feat(checkmarxOne): fix code review

* feat(checkmarxOne): fix code review

* feat(checkmarxOne): fix integration test PR

* adding scan-summary bug workaround, reportgen fail

* enforceThresholds fix when no results passed in

* fixed gap when preset empty in yaml & project conf

* fixed another gap in preset selection

* fix 0-result panic

* fail when no preset is set anywhere

* removed comment

* initial project-under-app support

* fixing sarif reportgen

* some cleanup of error messages

* post-merge test fixes

* revert previous upstream merge

* adding "incremental" to "full" triggers

* wrong boolean

* project-in-application api change prep

* Fixing SARIF report without preset access

* fix sarif deeplink

* removing comments

* fix(cxone):formatting

* fix(cxone):formatting

* small sarif fixes

* fixed merge

* attempt at pulling git source repo branch

* fix(cxone):new endpoint for project creation

* fix(cxOne): taxa is an array

* fix(cxOne): get Git branch from commonPipelineEnvironment

* fix(cxOne): add params to tag a scan and a project

* fix(cxOne): unit test - update project

* fix(cxOne): unit test - update project tags

* fix(cxOne): improve logs

* fix(cxOne): improve logs

* adding RequestNewPDFReport function using v2 api

* added version check

* fix(cxone): JSON report using v2 API

* update to set reportType in v2 reportgen

* fix(checkmarxOneExecuteScan): remove absolute patch for code preview

* fix(checkmarxOneExecuteScan): remove SCA confusion from driver name

* fix(checkmarxOneExecuteScan): search project name by exact match

* fix(checkmarxOneExecuteScan): escape branch name in deeplink

* fix(checkmarxOneExecuteScan): fix format

---------

Co-authored-by: michael kubiaczyk <michael.kubiaczyk@checkmarx.com>
Co-authored-by: michaelkubiaczyk <48311127+michaelkubiaczyk@users.noreply.github.com>
Co-authored-by: sumeet patil <sumeet.patil@sap.com>
Co-authored-by: Adrien <99400874+hubadr@users.noreply.github.com>
2024-11-27 15:54:19 +01:00
..
abap addon.yml may now contain wildCard MAXX (#5039) 2024-09-12 14:44:20 +02:00
abaputils Adding log download as zip archive (#5121) 2024-10-10 13:42:09 +02:00
ado feat(golangBuild): use 'unit' build tag to include tests during test execution (#4345) 2023-05-03 21:02:11 +05:00
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 feat(build): add buildSettingsInfo for gradleExecuteBuild (#5043) 2024-10-15 12:14:23 +05:00
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: search project name by exact match (#5187) 2024-11-27 15:54:19 +01:00
cloudfoundry chore(deps): Replace io/ioutil package (#4494) 2023-08-16 12:57:04 +02:00
cnbutils Remove commit message from project-metadata.toml (#5176) 2024-11-18 09:51:35 +01: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 fix(config): move Central Build stage config to Build stage for custom defaults (#5182) 2024-11-27 11:48:54 +04: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 fix(docs): remove dead links (#5051) 2024-09-20 14:21:33 +02:00
events Add identifier data to create uuid in events (#5165) 2024-10-29 08:39:34 +01: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(events): Publish events to GCP PubSub by each step (#5122) 2024-10-11 14:55:39 +05:00
gcs feat(golangBuild): use 'unit' build tag to include tests during test execution (#4345) 2023-05-03 21:02:11 +05:00
generator handle error while fetching working directory (#5168) 2024-11-04 14:20:37 +01: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 feat(golangBuild): use 'unit' build tag to include tests during test execution (#4345) 2023-05-03 21:02:11 +05:00
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 feat(golangBuild): use 'unit' build tag to include tests during test execution (#4345) 2023-05-03 21:02:11 +05:00
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 feat(golangBuild): use 'unit' build tag to include tests during test execution (#4345) 2023-05-03 21:02:11 +05:00
nexus feat(golangBuild): use 'unit' build tag to include tests during test execution (#4345) 2023-05-03 21:02:11 +05:00
npm feat: add build artifacts metadata for mtaBuild (#5166) 2024-11-04 12:30:39 +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 feat: add build artifacts metadata for mtaBuild (#5166) 2024-11-04 12:30:39 +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 feat(golangBuild): use 'unit' build tag to include tests during test execution (#4345) 2023-05-03 21:02:11 +05:00
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 feat(events): Publish events to GCP PubSub by each step (#5122) 2024-10-11 14:55:39 +05:00
terraform feat(golangBuild): use 'unit' build tag to include tests during test execution (#4345) 2023-05-03 21:02:11 +05:00
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 Fix: validate app name (#5155) 2024-10-25 09:53:55 +02:00
trustengine feat(trustengine): Integrate Trust Engine into step config resolver (#5032) 2024-09-11 15:20:28 +02:00
validation feat(golangBuild): use 'unit' build tag to include tests during test execution (#4345) 2023-05-03 21:02:11 +05:00
vault fix deadlock and add more logging (#5160) 2024-10-24 14:08:09 +05:00
versioning Add additional info to coordinates (#5149) 2024-10-16 14:10:52 +02:00
whitesource added-option-to-use-global-config-file (#5145) 2024-10-18 17:06:41 +03:00
xsuaa chore(deps): Replace io/ioutil package (#4494) 2023-08-16 12:57:04 +02:00
yaml feat(golangBuild): use 'unit' build tag to include tests during test execution (#4345) 2023-05-03 21:02:11 +05:00