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

Automatically set Checkmarx configuration on project in SonarQube #25

Open
readonlyuser1 opened this issue Oct 18, 2022 · 0 comments
Open

Comments

@readonlyuser1
Copy link

readonlyuser1 commented Oct 18, 2022

I need to configure my project in SonarQube with Checkmarx infos. I can do it manually but, I need it to work automatically.

I took an example from here:
https://stackoverflow.com/questions/56276889/automatically-set-checkmarx-configuration-on-project-in-sonarqube

I'm trying to send a request in postman POST /api/settings/set with key checkmarx.server.credentials ...
image

...and when I try to make a test from the web interface, I see correctly filled cxServerUrl and cxUsername, but cxPassword is null
image

image

GET https://sonarqube.local/api/settings/values component="SecDevOps_Example_test-mvn-project" keys="checkmarx.server.credentials"'

{
"settings": [
{
"key": "checkmarx.server.credentials",
"value": "{"cxServerUrl":"http://scsanalyzer.local/","cxUsername":"sonarqubeUserForCheckmarx","cxPassword":"Aa12345678-"}"
}
],
"setSecuredSettings": []
}

version:
image

Can anyone help me ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant