Skip to main content

Download the Docker container

To get started with using the Contrast local scanner, download the Docker container from the GitHub repository for Contrast.

If you prefer to use a Java JAR file instead of the Docker container, download the JAR fie.

Before you begin

Steps

  1. Configure this variable on your local system:

    export CONTRAST_PAT=<ContrastProvidedPAT>

    Replace <ContrastProvidedPAT> with the PAT that Contrast Support gives you

  2. Log in and download the Docker container with these commands:

    docker login ghcr.io/contrast-security-inc -u local-scanner -p $CONTRAST_PAT
    docker pull ghcr.io/contrast-security-inc/contrast-sast-scanner-java:latest