Add a Scanner

Create a Container Security scanner:

  1. In the left navigation, click Scanners.

    The ScannersScanners tab appears, which displays a list of your scanners.

  2. At the top of the table, click Add Scanner.

    The Add Scanner window appears.

  3. In the Scanner Name box, type a name for the scanner.

  4. In the Description box, type a description for the scanner.

  5. Select a platform for the scanner.

  6. Click Download.

    The scanner downloads to your local machine.

  7. Move the scanner to your desired location using the following command:

    Copy
    mv ./consec.tar.gz
  8. Activate the scanner using the following commands:

    1. Untar the Container Security CLI:

      Copy
      tar xvpf ./consec.tar.gz
    2. Allow executable permissions to the Container Security CLI binary file:

      Copy
      chmod +x consec
    3. Start the scanner:

      Copy
      ./consec run

      -or-

      To scan a registry that is using a self-signed certificate, use the following command:

      Copy
      ./consec run --insecure-registry=true

      Note: If you are running CI/CD single image scans, you can skip this step. For more information, see Configure a CI/CD Scan.

What to do next: