Checkmarx SAST Connector
Supported version: Server 9.5.0
API Rate Limit: None
Supported Authentication: Custom authentication
IMPORTANT: Please make sure your Checkmarx SAST instance must be accessible from the Gathr Analytics Machine.
To configure Checkmarx SAST using Custom authentication, follow the steps below:-
Enter your Checkmarx SAST URL, for example:- https://localhost/cxrestapi
Select “Create New Account” and add a user-friendly name for account for e.g. “Checkmarx SAST Account”.
Select “Method Type” as “POST”.
Enter “Validation End Point” as https://Your_Server_IP/cxrestapi/auth/identity/connect/token
- In “End Point Header Parameters” Enter:
“Key”: username
“Value”: Your_Username
Click on ’+’ button to add more fields for header parameter for the below parameters.
“Key”: password
“Value”: Your_Password
“Key”: grant_type
“Value”: password
“Key”: scope
“Value”: sast_rest_api
“Key”: client_id
“Value”: resource_owner_client
“Key”: client_secret
“Value”: 014DF517-39D1-4453-B7B3-9930C563627C
In “Select Credentials From” select “Response Key”.
In “Parameter Key Name In Response” enter value as “access_token”.
In “Operation’s Request Header Parameter” select “Authorization with Bearer Prefix”.
In “Expiration Time” select “Read Expiration Time From Response”.
In “Response Parameter key name containing expiration time” enter value as “expires_in”.
In “Expiration time parameter value’s unit or format” select “Seconds”.
Click on “Save”.
If you have any feedback on Gathr documentation, please email us!