-
Notifications
You must be signed in to change notification settings - Fork 9
Configure CxConnection
Nathan Leach edited this page Feb 22, 2022
·
3 revisions
An example connection configuration element is shown below:
<CxConnection URL="http://www.foo.com" TimeoutSeconds="600" ValidateCertificates="true" />
Each attribute can be configured as follows:
| Attribute | Description |
|---|---|
| URL | The URL to the Checkmarx SAST server. |
| mnoURL | The URL for M&O if different from SAST. If empty, M&O data will not be included in data output. |
| TimeoutSeconds | The number of seconds to wait before assuming a call to the REST API times out. |
| ValidateCertificates | Set to true to perform SSL certificate validation. Set to false to disable certificate validation. |
| RetryLoop |
(optional) Defines the number of retries an operation will execute after a timeout or an unexpected error. Defaults to 0. WARNING This will potentially make operations wait TimeoutSeconds * RetryLoop seconds before failing and recovering in a subsequent crawl. |
Configuration values provided for this section can embed a reference to an environment variable by delimiting the name of the variable with %. While this is typically a construct used on Windows, this applies to all platforms. Example:
<CxConnection URL="%URL%" TimeoutSeconds="600" ValidateCertificates="true" />