mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-12 10:55:20 +02:00
d12f01d90f
* 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>
120 lines
8.8 KiB
Go
120 lines
8.8 KiB
Go
// Code generated by piper's step-generator. DO NOT EDIT.
|
|
|
|
package cmd
|
|
|
|
import "github.com/SAP/jenkins-library/pkg/config"
|
|
|
|
// GetStepMetadata return a map with all the step metadata mapped to their stepName
|
|
func GetAllStepMetadata() map[string]config.StepData {
|
|
return map[string]config.StepData{
|
|
"abapAddonAssemblyKitCheckCVs": abapAddonAssemblyKitCheckCVsMetadata(),
|
|
"abapAddonAssemblyKitCheckPV": abapAddonAssemblyKitCheckPVMetadata(),
|
|
"abapAddonAssemblyKitCreateTargetVector": abapAddonAssemblyKitCreateTargetVectorMetadata(),
|
|
"abapAddonAssemblyKitPublishTargetVector": abapAddonAssemblyKitPublishTargetVectorMetadata(),
|
|
"abapAddonAssemblyKitRegisterPackages": abapAddonAssemblyKitRegisterPackagesMetadata(),
|
|
"abapAddonAssemblyKitReleasePackages": abapAddonAssemblyKitReleasePackagesMetadata(),
|
|
"abapAddonAssemblyKitReserveNextPackages": abapAddonAssemblyKitReserveNextPackagesMetadata(),
|
|
"abapEnvironmentAssembleConfirm": abapEnvironmentAssembleConfirmMetadata(),
|
|
"abapEnvironmentAssemblePackages": abapEnvironmentAssemblePackagesMetadata(),
|
|
"abapEnvironmentBuild": abapEnvironmentBuildMetadata(),
|
|
"abapEnvironmentCheckoutBranch": abapEnvironmentCheckoutBranchMetadata(),
|
|
"abapEnvironmentCloneGitRepo": abapEnvironmentCloneGitRepoMetadata(),
|
|
"abapEnvironmentCreateSystem": abapEnvironmentCreateSystemMetadata(),
|
|
"abapEnvironmentCreateTag": abapEnvironmentCreateTagMetadata(),
|
|
"abapEnvironmentPullGitRepo": abapEnvironmentPullGitRepoMetadata(),
|
|
"abapEnvironmentPushATCSystemConfig": abapEnvironmentPushATCSystemConfigMetadata(),
|
|
"abapEnvironmentRunATCCheck": abapEnvironmentRunATCCheckMetadata(),
|
|
"abapEnvironmentRunAUnitTest": abapEnvironmentRunAUnitTestMetadata(),
|
|
"ansSendEvent": ansSendEventMetadata(),
|
|
"apiKeyValueMapDownload": apiKeyValueMapDownloadMetadata(),
|
|
"apiKeyValueMapUpload": apiKeyValueMapUploadMetadata(),
|
|
"apiProviderDownload": apiProviderDownloadMetadata(),
|
|
"apiProviderList": apiProviderListMetadata(),
|
|
"apiProviderUpload": apiProviderUploadMetadata(),
|
|
"apiProxyDownload": apiProxyDownloadMetadata(),
|
|
"apiProxyList": apiProxyListMetadata(),
|
|
"apiProxyUpload": apiProxyUploadMetadata(),
|
|
"artifactPrepareVersion": artifactPrepareVersionMetadata(),
|
|
"ascAppUpload": ascAppUploadMetadata(),
|
|
"awsS3Upload": awsS3UploadMetadata(),
|
|
"azureBlobUpload": azureBlobUploadMetadata(),
|
|
"batsExecuteTests": batsExecuteTestsMetadata(),
|
|
"checkmarxExecuteScan": checkmarxExecuteScanMetadata(),
|
|
"checkmarxOneExecuteScan": checkmarxOneExecuteScanMetadata(),
|
|
"cloudFoundryCreateService": cloudFoundryCreateServiceMetadata(),
|
|
"cloudFoundryCreateServiceKey": cloudFoundryCreateServiceKeyMetadata(),
|
|
"cloudFoundryCreateSpace": cloudFoundryCreateSpaceMetadata(),
|
|
"cloudFoundryDeleteService": cloudFoundryDeleteServiceMetadata(),
|
|
"cloudFoundryDeleteSpace": cloudFoundryDeleteSpaceMetadata(),
|
|
"cloudFoundryDeploy": cloudFoundryDeployMetadata(),
|
|
"cnbBuild": cnbBuildMetadata(),
|
|
"codeqlExecuteScan": codeqlExecuteScanMetadata(),
|
|
"containerExecuteStructureTests": containerExecuteStructureTestsMetadata(),
|
|
"containerSaveImage": containerSaveImageMetadata(),
|
|
"credentialdiggerScan": credentialdiggerScanMetadata(),
|
|
"detectExecuteScan": detectExecuteScanMetadata(),
|
|
"fortifyExecuteScan": fortifyExecuteScanMetadata(),
|
|
"gaugeExecuteTests": gaugeExecuteTestsMetadata(),
|
|
"gctsCloneRepository": gctsCloneRepositoryMetadata(),
|
|
"gctsCreateRepository": gctsCreateRepositoryMetadata(),
|
|
"gctsDeploy": gctsDeployMetadata(),
|
|
"gctsExecuteABAPQualityChecks": gctsExecuteABAPQualityChecksMetadata(),
|
|
"gctsExecuteABAPUnitTests": gctsExecuteABAPUnitTestsMetadata(),
|
|
"gctsRollback": gctsRollbackMetadata(),
|
|
"githubCheckBranchProtection": githubCheckBranchProtectionMetadata(),
|
|
"githubCommentIssue": githubCommentIssueMetadata(),
|
|
"githubCreateIssue": githubCreateIssueMetadata(),
|
|
"githubCreatePullRequest": githubCreatePullRequestMetadata(),
|
|
"githubPublishRelease": githubPublishReleaseMetadata(),
|
|
"githubSetCommitStatus": githubSetCommitStatusMetadata(),
|
|
"gitopsUpdateDeployment": gitopsUpdateDeploymentMetadata(),
|
|
"golangBuild": golangBuildMetadata(),
|
|
"gradleExecuteBuild": gradleExecuteBuildMetadata(),
|
|
"hadolintExecute": hadolintExecuteMetadata(),
|
|
"helmExecute": helmExecuteMetadata(),
|
|
"influxWriteData": influxWriteDataMetadata(),
|
|
"integrationArtifactDeploy": integrationArtifactDeployMetadata(),
|
|
"integrationArtifactDownload": integrationArtifactDownloadMetadata(),
|
|
"integrationArtifactGetMplStatus": integrationArtifactGetMplStatusMetadata(),
|
|
"integrationArtifactGetServiceEndpoint": integrationArtifactGetServiceEndpointMetadata(),
|
|
"integrationArtifactResource": integrationArtifactResourceMetadata(),
|
|
"integrationArtifactTransport": integrationArtifactTransportMetadata(),
|
|
"integrationArtifactTriggerIntegrationTest": integrationArtifactTriggerIntegrationTestMetadata(),
|
|
"integrationArtifactUnDeploy": integrationArtifactUnDeployMetadata(),
|
|
"integrationArtifactUpdateConfiguration": integrationArtifactUpdateConfigurationMetadata(),
|
|
"integrationArtifactUpload": integrationArtifactUploadMetadata(),
|
|
"isChangeInDevelopment": isChangeInDevelopmentMetadata(),
|
|
"jsonApplyPatch": jsonApplyPatchMetadata(),
|
|
"kanikoExecute": kanikoExecuteMetadata(),
|
|
"karmaExecuteTests": karmaExecuteTestsMetadata(),
|
|
"kubernetesDeploy": kubernetesDeployMetadata(),
|
|
"malwareExecuteScan": malwareExecuteScanMetadata(),
|
|
"mavenBuild": mavenBuildMetadata(),
|
|
"mavenExecute": mavenExecuteMetadata(),
|
|
"mavenExecuteIntegration": mavenExecuteIntegrationMetadata(),
|
|
"mavenExecuteStaticCodeChecks": mavenExecuteStaticCodeChecksMetadata(),
|
|
"mtaBuild": mtaBuildMetadata(),
|
|
"newmanExecute": newmanExecuteMetadata(),
|
|
"nexusUpload": nexusUploadMetadata(),
|
|
"npmExecuteLint": npmExecuteLintMetadata(),
|
|
"npmExecuteScripts": npmExecuteScriptsMetadata(),
|
|
"pipelineCreateScanSummary": pipelineCreateScanSummaryMetadata(),
|
|
"protecodeExecuteScan": protecodeExecuteScanMetadata(),
|
|
"pythonBuild": pythonBuildMetadata(),
|
|
"shellExecute": shellExecuteMetadata(),
|
|
"sonarExecuteScan": sonarExecuteScanMetadata(),
|
|
"terraformExecute": terraformExecuteMetadata(),
|
|
"tmsExport": tmsExportMetadata(),
|
|
"tmsUpload": tmsUploadMetadata(),
|
|
"transportRequestDocIDFromGit": transportRequestDocIDFromGitMetadata(),
|
|
"transportRequestReqIDFromGit": transportRequestReqIDFromGitMetadata(),
|
|
"transportRequestUploadCTS": transportRequestUploadCTSMetadata(),
|
|
"transportRequestUploadRFC": transportRequestUploadRFCMetadata(),
|
|
"transportRequestUploadSOLMAN": transportRequestUploadSOLMANMetadata(),
|
|
"uiVeri5ExecuteTests": uiVeri5ExecuteTestsMetadata(),
|
|
"vaultRotateSecretId": vaultRotateSecretIdMetadata(),
|
|
"whitesourceExecuteScan": whitesourceExecuteScanMetadata(),
|
|
"xsDeploy": xsDeployMetadata(),
|
|
}
|
|
}
|