Skip to main content

configure

The configure command enables the ability to Manage Checkmarx One scan configurations.

configure set

The configure set command provides the ability to set configuration properties.

The optional configuration properties are:

  • cx_apikey

  • cx_base_uri

  • cx_base_auth_uri

  • cx_client_id

  • cx_client_secret

  • http_proxy

  • cx_tenant

  • sca-resolver

Usage

./cx configure set --prop-name <property name> --prop-value <property value>

Flags

Name

Default

Description

---help, -h

help for the configure command

--prop-name <string>

Name of property set

--prop-value <string>

Value of property set

Examples

Setting the cx_base_uri Property

# Setting the Checkmarx One server URI
[email protected]:~/ast-cli$ ./cx configure set --prop-name cx_base_uri --prop-value https://eu.ast.checkmarx.net/
Setting property [ cx_base_uri ] to value [ https://eu.ast.checkmarx.net/ ]

configure show

The configure show command presents the configuration properties for the current profile.

Usage

./cx configure show [flags] 

Flags

Name

Default

Description

---help, -h

help for the configure command

Examples

Presenting all the Configuration Parameters Values

[email protected]:~/ast-cli$ ./cx configure show
Current Effective Configuration
                     BaseURI: https://eu.ast.checkmarx.net/
              BaseAuthURIKey: https://eu.iam.checkmarx.net/
                  Checkmarx One Tenant: MyTenant
                   Client ID: MyClientID
               Client Secret: ******cert
                      APIKey:
                       Proxy: