casthighlight/cli

By casthighlight

Updated 5 days ago

CAST Highlight's Command Line to scan local source code

Image
Security
Integration & delivery
1

10K+

casthighlight/cli repository overview

CAST Highlight command line image

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.

Usage

Get help

$docker run casthighlight/cli

Scan and upload the results

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 ****

HTTPS proxy settings

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 ****

Tag summary

Content type

Image

Digest

sha256:584d843dc

Size

443 MB

Last updated

5 days ago

docker pull casthighlight/cli