1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-11-28 08:49:44 +02:00
Jenkins shared library for Continuous Delivery pipelines.
Go to file
michaelkubiaczyk d12f01d90f
Adding support for CheckmarxOne platform (#4317)
* 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

---------

Co-authored-by: thtri <trinhthanhhai@gmail.com>
Co-authored-by: Thanh-Hai Trinh <thanh.hai.trinh@sap.com>
2023-05-05 14:05:58 +02:00
.github feat(golangBuild): use 'unit' build tag to include tests during test execution (#4345) 2023-05-03 21:02:11 +05:00
.hooks chore(go): add pre-commit hook (#1006) 2019-11-27 21:16:01 +01:00
.pipeline Update config.yml (#2371) 2020-11-13 16:51:25 +01:00
.reuse compliance with reuse (#1910) 2020-08-11 11:53:42 +02:00
cfg Deploy mkdocs when merging to master 2018-03-12 09:58:32 +01:00
cmd Adding support for CheckmarxOne platform (#4317) 2023-05-05 14:05:58 +02:00
consumer-test Integration Tests fail - edu.hm.hafner (#3071) 2021-08-25 20:51:54 +02:00
contrib Allow to trigger release manually (#1359) 2020-04-03 16:26:53 +02:00
documentation Adding support for CheckmarxOne platform (#4317) 2023-05-05 14:05:58 +02:00
integration feat(golangBuild): use 'unit' build tag to include tests during test execution (#4345) 2023-05-03 21:02:11 +05:00
LICENSES compliance with reuse (#1910) 2020-08-11 11:53:42 +02:00
pkg Adding support for CheckmarxOne platform (#4317) 2023-05-05 14:05:58 +02:00
resources Adding support for CheckmarxOne platform (#4317) 2023-05-05 14:05:58 +02:00
src/com/sap/piper fix(containerPushToRegistry): add new --multi-arch=all flag to skopeo (#4347) 2023-05-04 17:52:45 +06:00
template remove !#groovy header 2019-05-23 10:37:28 +02:00
test Adding support for CheckmarxOne platform (#4317) 2023-05-05 14:05:58 +02:00
vars Adding support for CheckmarxOne platform (#4317) 2023-05-05 14:05:58 +02:00
.codeclimate.yml chore(ci): add yamllint action (#2774) 2021-04-22 12:55:35 +02:00
.editorconfig Add golang implementation for karma tests (#919) 2019-10-25 14:58:59 +02:00
.gitignore chore: fix linting issues (#3878) 2022-07-21 09:04:21 +02:00
.log4brains.yml chore: prepare setup for future ADRs (#4054) 2022-11-02 14:30:34 +01:00
.markdownlint.yml chore(ci): add yamllint action (#2774) 2021-04-22 12:55:35 +02:00
.yamllint.yml chore(ci): add yamllint action (#2774) 2021-04-22 12:55:35 +02:00
config.toml Add revive config for proper linting 2020-02-26 09:44:18 +01:00
DEVELOPMENT.md docs(development): Add info about release process (#4005) 2022-09-27 12:51:57 +02:00
Dockerfile Upgrade Dockerfile to Go 1.18 (#3845) 2022-06-22 15:59:47 +02:00
go.mod feat(vault): Vault secret rotation for GH Actions (#4280) 2023-04-17 08:35:13 +02:00
go.sum build(deps): bump golang.org/x/net (#4254) 2023-03-01 09:05:33 +01:00
LICENSE chore(license): update LICENSE text (#2855) 2021-05-26 09:58:12 +02:00
main.go Step generation: allow usage of go generate (#1793) 2020-07-17 08:06:11 +02:00
pom.xml Bump junit from 1.23 to 1.24 (#3868) 2022-11-08 15:41:45 +01:00
README.md fix: markdownlint findings for MD012 (#2383) 2020-11-16 18:22:38 +01:00
staticcheck.conf add staticcheck github action (#3605) 2022-03-07 14:52:20 +01:00

Maintainability Test Coverage Go Report Card REUSE status

Project Piper Repository

The Project "Piper" offers default pipelines to easily implement CI/CD processes integrating SAP systems. The corresponding "Shared Library" provides a set of "steps" to build your own scenarios beyond defaults.

User Documentation

If you want to view the User Documentation of Project Piper please follow this Piper Pages Link.

Known Issues

A list of known issues is available on the GitHub issues page of this project.

How to obtain support

Feel free to open new issues for feature requests, bugs or general feedback on the GitHub issues page of this project.

Register to our google group in order to get updates or for asking questions.

Contributing

Read and understand our contribution guidelines before opening a pull request.