CAST Highlight's Command Line to scan local source code
10K+
CAST Highlight is an Application Portfolio Analysis platform that delivers Software Intelligence integrating technology insights with business context to accelerate cloud migration, rationalize application portfolios, and mange open source risk. It analyzes application source code and provides rapid visibility across hundreds of apps in less than a week to accelerate and secure your digital journey. Get an account at https://www.casthighlight.com/ and run local source code scan.
Use the latest image to scan and upload results to your CAST Highlight account.
$docker run casthighlight/cli
Once you know which Highlight company and application the scan refers to, adapt the following in the directory you want to scan:
$docker run --user $UID -v $(pwd):/sourceDir -v /tmp:/workingDir casthighlight/cli --sourceDir /sourceDir --workingDir /workingDir --applicationId 33074 --companyId 6515 --login [email protected] --password ****
Results are uploaded to casthighlight portal using https. If your environment requires a proxy for https connections, pass the JAVA_OPTS environment to the container with the -e docker option configured with your proxyHost and proxyPort. e.g: -e JAVA_OPTS="-Dhttps.proxyHost=http-proxy.mycompany.com -Dhttps.proxyPort=443"
$docker run --user $UID -e JAVA_OPTS="-Dhttps.proxyHost=http-proxy.mycompany.com -Dhttps.proxyPort=443" -v $(pwd):/sourceDir -v /tmp:/workingDir casthighlight/cli --sourceDir /sourceDir --workingDir /workingDir --applicationId 33074 --companyId 6515 --login [email protected] --password ****
Content type
Image
Digest
sha256:584d843dc…
Size
443 MB
Last updated
5 days ago
docker pull casthighlight/cli