Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: ApiVersionUnspecified while running checkmarx scan #5

Open
ghost opened this issue Aug 24, 2020 · 1 comment
Open

Error: ApiVersionUnspecified while running checkmarx scan #5

ghost opened this issue Aug 24, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@ghost
Copy link

ghost commented Aug 24, 2020

Orb Version
1.0.4

Describe the bug
checkmax scan is expecting API version Information to be passed. The following error message is thrown

org.springframework.web.client.HttpClientErrorException$BadRequest: 400 Bad Request: [{
"error": {
"code": "ApiVersionUnspecified",
"message": "An API version is required, but was not specified."
}
}]

To Reproduce

Execute the work flow by running with the following circleci config

cx-scan:
executor: cxflow/default
steps:
- checkout
- cxflow/scan:
preset: 'Checkmarx Default'
report-file: checkmarx.json
team: '${CHECKMARX_TEAMID}'
project: '${CIRCLE_PROJECT_REPONAME}'
- store_artifacts:
path: checkmarx.json

Expected behavior

Workflow should complete successfully

Additional context

CheckMarx version: V8.9.0 HF24
The scan job exited with exit code 10

@ghost ghost added the bug Something isn't working label Aug 24, 2020
@RafaelRMachado
Copy link

Facing the same problem when trying to change git settings using a bash script

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant