Marco Rosa
6b18448124
Add credentialdiggerScan step ( #4141 )
...
* Add credentialdiggerScan metadata
* Integrate new step into piper process
* Add credentialdiggerScan implementation and tests
* Remove duplicated code
* Add doc file for credentialdiggerScan step
* Regenerate metadata
* Fix return type in tests
* Add credentialdiggerScan to CommonStepsTest
* Fix typo
* Improve code style
* Add support for custom rules file in stash
* Regenerate metadata for credentialdiggerScan
---------
Co-authored-by: Sven Merk <33895725+nevskrem@users.noreply.github.com>
Co-authored-by: Anil Keshav <anil.keshav@sap.com>
2023-04-04 16:57:15 +02:00
Pavel Busko
81d9a0ac8c
feat(cnbBuild): support Vault general purpose secrets as a binding content source ( #4281 )
...
* feat(cnbBuild): support Vault general purpose secrets as a binding content source
Co-authored-by: Pavel Busko <pavel.busko@sap.com>
* fix npm project integration test
Co-authored-by: Pavel Busko <pavel.busko@sap.com>
---------
Co-authored-by: Ralf Pannemans <ralf.pannemans@sap.com>
Co-authored-by: Sumit Kulhadia <sumit.kulhadia@sap.com>
2023-03-31 09:36:59 +02:00
Anke Ravalitera
ba58d72022
Update texts of gCTS steps and scenario for SSL and queryP ( #4282 )
...
* Update texts of gCTS steps and scenario for SSL and queryP
* delete a trailing space
2023-03-29 12:31:27 +02:00
gerstneralex
f5c33d51bb
Tms export ( #4160 )
...
* Change parameter type of nodeExtDescriptorMapping
(cherry picked from commit ca7ce0485a90f9bbd04a86524ae13cfacc04601f)
* Remove usage of the depricated ioutil package
(cherry picked from commit 9821915b33ad4765f41288ece9163d27fbf6c031)
* Fix cmd failure if neither git/commitId nor customDescription are
provided
(cherry picked from commit c362681e4569734744a2133beb950bdd78577d33)
* Fix unit test
(cherry picked from commit 53a90aabb5ca4a254e646b5912685ab2d4d11834)
* Step metadata, step code generation
* change type of nodeExtDescriptorMapping for export
* Refactoring and export implementation
* integration test
* Add export step
* Integration test
* format
* discard piper.go
* Review related changes
* restore piper.go
* remove unused method
* Extend documentation
* Add parameter useGoStep to tmsUpload.groovy
* Regenerate steps
* Rename function
* refactor constants
* Add error path tests
* Move some code to tms package
* Move more code to tms
* Combine tmsUpload, tmsUtils
* Add groovy wrapper
* add parameters to groovy step
* add import
* jenkinsUtils instance
* comment namedUser logic in groovy
* namedUser param
* remove logic for namedUser param
* Remove TMS integration tests
* discard changes in tmsUpload.groovy
* Remove parameters
* Restore parameters
* Change type of NodeExtDescriptorMapping to map[string]interface{}
* tmsUpload: Change type of NodeExtDescriptorMapping to map
* Resolve ioutil deprecation
* Review related changes
* Formatting
* Review related improvements
* Add tmsUtils test
* Formatting tmsUtils_test
* Remove parameters from groovy wrapper
* Remove tmsUtils_test
* Add TMS steps to fieldRelatedWhitelist
* Add integration test
* Add test to github_actions_integration_test_list.yml
* Move test helper method
* Step documentation placeholder
* Remove parameter StashContent
* Restore cmd/integrationArtifactTransport.go
---------
Co-authored-by: Oliver Feldmann <oliver.feldmann@sap.com>
2023-03-27 16:55:29 +02:00
Oliver Feldmann
92a782a6c3
[Integration Suite] Store response in CPE ( #4277 )
...
* Store response body in CPE
* Also store response headers in CPE
2023-03-27 14:34:59 +00:00
Andrei Kireev
e55c2f857c
feat(detectExecuteScan) enabling possibility to scan MTA projects ( #4300 )
...
* feat(detectExecuteScan) enabling possibility to scan MTA projects
2023-03-27 10:42:39 +02:00
sumeet patil
d5d486ae3f
docs(codeqlExecuteScan): Improve codeqlExecuteScan githubToken docs ( #4292 )
2023-03-22 18:14:04 +05:30
Ashly Mathew
60f9d55bda
Add Step scope for mavenBuild ( #4291 )
2023-03-21 14:17:07 +01:00
Oliver Nocon
7c4262b0c6
chore (containerExecuteStructureTests): switch default container ( #4288 )
2023-03-21 08:06:22 +01:00
Vyacheslav Starostin
eeea501bc6
golangBuild: Update golangci-lint version ( #4279 )
...
* Update golangci-lint version
* go generate
2023-03-16 18:53:24 +06:00
Daria Kuznetsova
9774eaab86
fix(codeqlExecuteScan): added parameters threads and ram ( #4269 )
2023-03-13 19:17:16 +05:30
Daniel Mieg
8084ce1a94
Change to default cf create-service implementation ( #4224 )
...
* Change to default cf create-service
* Adapt test
* Adapt tests
* Remove comment
---------
Co-authored-by: tiloKo <70266685+tiloKo@users.noreply.github.com>
2023-03-08 09:44:00 +01:00
Andrei Kireev
22f61be2c4
Removed downloading of detect script version 6 ( #4261 )
...
Co-authored-by: ffeldmann <f.feldmann@sap.com>
2023-03-07 14:43:14 +01:00
Philipp Stehle
cc3bc76943
Use floating tag for helm images ( #4236 )
...
Co-authored-by: Pavel Busko <pavel.busko@sap.com>
2023-03-01 09:26:26 +01:00
Daria Kuznetsova
cea2a6e290
feat(codeql): added generating file toolrun_codeql.json ( #4240 )
...
* added generating toolrun file for codeql
2023-02-22 22:30:53 +05:30
Ralf Pannemans
906512a162
feat(cnbbuild): allow bindings to have multiple keys ( #4231 )
...
Co-authored-by: Ralf Pannemans <ralf.pannemans@sap.com>
Co-authored-by: Pavel Busko <pavel.busko@sap.com>
2023-02-16 15:29:08 +01:00
Rinita Asani
eecddf689c
New Configuration Parameters for gCTS steps ( #4214 )
...
* Adding new query configuration parameter for gCTS Piper steps
* Add skipSSLVerification parameter to gCTSExecuteQualityChecks
* Add skipSSLVerification to gCTSDeploy
* Add SkipSSLVerification for pull by commit
* Add SkipSSLVerification to rollback
* Add SkipSSLVerification parameter to rollback
* Handling maximum number of charachter for the queryParameter
* Remove extra new lines in yaml files
* Add new line yaml files
2023-02-14 11:38:46 +01:00
Vyacheslav Starostin
d7e0bfe4f9
Revert "artifactPrepareVersion: Add usage of gradle docker image if buildTool is gradle ( #4226 )" ( #4230 )
...
This reverts commit 7c7dcbf910783c3bbd4d662aa61a02b065f3d9bc.
2023-02-13 17:55:25 +01:00
Vyacheslav Starostin
7c7dcbf910
artifactPrepareVersion: Add usage of gradle docker image if buildTool is gradle ( #4226 )
2023-02-13 19:49:26 +06:00
Daniel Mieg
54d0c68feb
Add parameter for async execution (cfCreateServiceKey) ( #4209 )
...
* Add parameter for async execution
* Add default
* Adapt tests
* Add defaults for ABAP
---------
Co-authored-by: tiloKo <70266685+tiloKo@users.noreply.github.com>
2023-02-08 14:51:52 +00:00
Christopher Fenner
0626c7d861
feat(sonar): add parameter to wait for Quality Gate ( #4047 )
2023-01-27 16:14:34 +01:00
Daria Kuznetsova
4a1cf4fd45
feat(codeql): added stashes ( #4196 )
...
* added stashes for codeql metadata
2023-01-23 14:09:08 +05:30
tiloKo
a5ce01e1bd
increase cf-cli from 7 to v12 ( #4186 )
2023-01-12 17:17:50 +01:00
Daniel Mieg
74b5527f1c
Increase cf cli to v8 for ABAP steps ( #4183 )
...
* Increase docker image version
* Add --wait
* Test
* Adapt to new cf cli
* Parse both for cf cli v8 and v7
* Remove input
* Adapt to feedback
* Check for nil error
2023-01-12 08:39:14 +00:00
Oliver Feldmann
b639c98890
[newmanExecute] Allow env vars in the runOptions ( #3966 )
...
* Allow env vars in the runOptions
* Add documentation
* Regenerate for documentation
* Fix documentation
2023-01-11 11:59:09 +01:00
Vyacheslav Starostin
c467f002b1
Update whitesource risk-report pattern ( #4166 )
...
* Update whitesource pattern
* Update filePattern
* go generate
2023-01-05 18:37:03 +06:00
Pavel Busko
6201e9bd96
docs(cnbBuild): fix containerImageAlias
examples ( #4171 )
2022-12-21 16:47:22 +01:00
Daniel Mieg
6f9e3dbb04
Revert "Increase docker image version ( #4159 )" ( #4169 )
...
This reverts commit 380689e5c450294f101d20515c094412719e8f32.
2022-12-21 10:12:13 +01:00
Daniel Mieg
380689e5c4
Increase docker image version ( #4159 )
2022-12-21 09:48:49 +01:00
Mayur Belur Mohan
a65df9ced6
integrationArtifactTransport Command ( #4131 )
...
* integrationArtifactTransport Command
* CodeReview Fix
* CodeReview Fix
* codereview fix
* Update documentation/docs/steps/integrationArtifactTransport.md
Co-authored-by: Srinikitha Kondreddy <srinikitha.kondreddy@sap.com>
* Update documentation/docs/steps/integrationArtifactTransport.md
Co-authored-by: Srinikitha Kondreddy <srinikitha.kondreddy@sap.com>
* CodeReview Fixes
* CodeReview FIxes
* CodeReview Fix
* Doc Fixes
* Update documentation/docs/steps/integrationArtifactTransport.md
Co-authored-by: Linda Siebert <39100394+LindaSieb@users.noreply.github.com>
* Doc fixes
* Doc Fixes
* CodeReview Fixes
* Doc Fixes
Co-authored-by: Linda Siebert <linda.siebert@sap.com>
Co-authored-by: Srinikitha Kondreddy <srinikitha.kondreddy@sap.com>
Co-authored-by: Linda Siebert <39100394+LindaSieb@users.noreply.github.com>
2022-12-20 12:15:36 +01:00
raman-susla-epam
d7cf8654f9
githubCreateIssue_fix ( #4151 )
...
* extend githubCreateIssue to handle long body
Co-authored-by: Jordi van Liempt <35920075+jliempt@users.noreply.github.com>
2022-12-15 18:20:01 +03:00
Pavel Busko
63a79c9e41
feat(cnbBuild) generate SBOM files with syft
( #4150 )
...
* feat(cnbBuild) generate SBOM files with syft
Co-authored-by: Pavel Busko <pavel.busko@sap.com>
Co-authored-by: Sumit Kulhadia <sumit.kulhadia@sap.com>
2022-12-13 10:51:14 +01:00
Adrien
15d91ce659
fix(checkmarx) Fix logic for engineConfigurationID ( #4154 )
...
* Fix logic for engineConfigurationID
Use the project-level value if no value is defined in the piper config.
Remove the default value of 1 for engineConfigurationID.
2022-12-12 20:01:21 +05:30
Philipp Stehle
f5b6580e4c
feat(cnbBuild): allow setting the default process type ( #4140 )
2022-12-12 09:33:54 +01:00
Vyacheslav Starostin
6a9ade78ff
golangBuild: update the way of installing golangci-lint ( #4145 )
...
* Add the OS agnostic way of installing golangci-lint
* Fix
* Clean up
* Modify unit tests
* Rename downloaded archive
* Refactor
* Expose golangci-lint url as a parameter
* Clean up
* Rename parameter
* Update mock
* Fix golangci-lint version
2022-12-07 22:13:44 +06:00
Adrien
84ebea25b3
fix(checkmarxExecuteScan) rename sourceEncoding parameter to engineConfigurationID ( #4142 )
2022-12-03 11:13:32 +05:30
Jakob Marius Kjaer
452b2a1ef5
refactor: rebranding from scp to btp ( #4049 )
...
* refactor: rebranding
rebranding from SAP Cloud Platform to SAP BTP
* refactor: rebranding from SCP to BTP
Co-authored-by: tiloKo <70266685+tiloKo@users.noreply.github.com>
2022-11-29 09:52:23 +01:00
Ashly Mathew
d5562f2fb5
Expose syft url as a parameter for kanikoExecute ( #4135 )
2022-11-28 10:21:06 +01:00
Sven Merk
a055b905f9
Fix cumulus uploads for WhiteSource and BlackDuck ( #4128 )
...
* Refurbish upload to compliance store
* Fix BD IP json path
2022-11-17 11:05:27 +01:00
Srinikitha Kondreddy
486914b203
Correct description for deployType parameter ( #4127 )
...
* Correct description for deployType parameter
* Add space
* Update generated file
2022-11-15 14:44:52 +01:00
raman-susla-epam
fe4af3af7b
Update gradleExecuteBuild.go ( #4079 )
...
* Update gradleExecuteBuild to apply publish and cyclonedx for all projects
Co-authored-by: “Raman <“raman_susla@epam.com”>
2022-11-15 16:17:31 +03:00
Matthias Kuhr
4d45724a26
fix(detectExecuteScan): Update links to Synopsys docs ( #4038 )
...
* Update links to Synopsys docs
Co-authored-by: sumeet patil <sumeet.patil@sap.com>
2022-11-15 12:45:11 +05:30
Raghunath Deshpande
ad36fe5a30
Whitesource to Mend name change (only for step description docu and not step name) ( #4114 )
...
* Whitesource to Mend name change
* name change from whitesource to mend
2022-11-09 12:04:10 +01:00
Johannes Dillmann
5f643826f5
Add source repo for helmExecute ( #4082 )
...
Co-authored-by: Ralf Pannemans <ralf.pannemans@sap.com>
Co-authored-by: Ralf Pannemans <ralf.pannemans@sap.com>
2022-11-07 15:35:00 +00:00
Vyacheslav Starostin
c802aa512d
artifactPrepareVersion: update documentation ( #4107 )
2022-11-07 20:55:03 +06:00
Ashly Mathew
e2c710c035
Introducing syft to generate SBOMS for kaniko builds ( #4093 )
...
* Update kanikoExecute.go
* Syft function
* Change installation directory to ease cleanup
* Add createBOM option
* Unit tests
* Refactor code
Co-authored-by: raman-susla-epam <104915202+raman-susla-epam@users.noreply.github.com>
2022-11-07 14:27:05 +01:00
Frank Cheng
7f6fbe4bac
chore: let fortify support maven self Define parameters ( #4091 )
...
* let fortify support maven self Define parameters
2022-11-07 16:47:11 +05:30
Jordan Levin
2866ef5592
feat (protecodeExecuteScan) support custom data headers in upload request ( #3836 )
...
* support custom data headers in Protecode upload API
* parse custom data properly
* better debugging
* pre-pend META- to custom data header
* prepend to key, not value
* fix debug output
* Fix debug log level
* Make custom header meta upper case key
* fix
* Update http.go
* Update protecode.go
* Update http.go
* address PR review
* Fix merge conflicts
* Update fortifyExecuteScan.yaml
* Update protecodeExecuteScan_generated.go
* Generate step
* fix generated code
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2022-11-03 17:53:23 +01:00
charly-lemee
885a5e73e3
fix: typo in checkmarx scan ( #4072 )
...
* fix: typo with checkmarx report
2022-11-03 13:18:17 +05:30
Christian Volk
6702e146b1
fix(githubPublishRelease): allow repo and owner to be configured globally ( #4090 )
2022-11-02 13:41:15 +00:00