How to use
Official Document:https://checkmarx.atlassian.net/wiki/spaces/KC/pages/1187774721/Using+the+CxSAST+REST+API+v8.6.0+and+up
Checkmarx version suggest v8.6.0 and up,use postman to try RESTapi.
Postman’s Headers need to configure,follow document steps,and we can get token from first step.
1 | #Configure Headers |
And we can take this token to try some function,like get all projects.
1 | #Configure Headers |
Notice:POST or GET method and headers must be right.
Heartbeat monitor
Official Document:
https://www.elastic.co/guide/en/beats/heartbeat/current/configuration-heartbeat-options.html
1 | - type: http |
Notice:In body,because our request data is JSON,so we need to set body data to json format
We can set more options in check.response.status
not 200 but 500,503 etc.