Using IZ Scan CLI
Last updated
Was this helpful?
Before scanning applications using IZ Scan, make sure you have:
Purchased a valid license for IZ Scan.
Downloaded and installed IZ Scan CLI plugin. Download the latest version of IZ Scan CLI from latest
Downloaded and installed JDK 11
Follow the instructions on Generating Security Token to generate a security token
Once the appropriate version of IZ Scan CLI is downloaded, unzip the binary unzip iz-scan-cli-[VERSION]-[OS].zip
Navigate to the bin directory within iz-scan-cli-[VERSION]-[OS]
Run iz-scan-cli command with the following options
-serviceHost=xxx IZ Scan service URL
-authToken=xxx Security token generated from the server
-applicationKey=x.x Unique ID of the application / project being scanned
-applicationName=. Name of the application being scanned
-source=xxx Optional. Location of the project source directory. If ignored, the current directory will be used as the project source directory
-scmBranchName=xxx + Optional. SCM branch for which code is being analyzed. If ignored, the default value will be master
-pullRequestId=xxx + _Optional.SCM Pull request name for which code is being analyzed
-organization=xxx + Optional. Organization under which the project should be categorized. If ignored, the default organization will be used. Value can be any of Organization Name / Id / Ext Id
-sarifReport=xxx + _Optional. Used to generate issues in SARIF format. The output report file path must be specified using this parameter.
The complete example may look like
FALCON_SCAN_BIN_DIRECTORY> ./falcon-scan-cli -serviceHost -authToken -applicationKey orders-eapi -source <PROJECT_ROOT_DIRECTORY> -applicationName="Orders EAPI"If the system from which the projects are analyzed is configured with a proxy, then set the following environment variable with the proxy server details -
Windows
Linux
Replace PROXY_HOST and PROXY_PORT with appropriate values for Porxy server host and port
If https.proxyPort is not specified default value will be 443
If http.proxyPort is not specified default value will be 80
Last updated
Was this helpful?
Was this helpful?
set JAVA_TOOL_OPTIONS="-Dhttps.proxyHost=PROXY_HOST -Dhttps.proxyPort=PROXY_PORT -Dhttp.proxyHost=PROXY_HOST -Dhttp.proxyPort=PROXY_PORT -Djava.net.useSystemProxies=true"export JAVA_TOOL_OPTIONS="-Dhttps.proxyHost=PROXY_HOST -Dhttps.proxyPort=PROXY_PORT -Dhttp.proxyHost=PROXY_HOST -Dhttp.proxyPort=PROXY_PORT -Djava.net.useSystemProxies=true"
