Skip to content

Releases: docker/scout-cli

v1.9.3

28 May 16:08
1ad496b
Compare
Choose a tag to compare

Bug Fixes

  • Fix a panic while retrieving cached SBOM

Contributor

@cdupuis

v1.9.1

27 May 13:31
851bff1
Compare
Choose a tag to compare

Highlights

  • Add support for the GitLab container scanning file format with --format gitlab on docker scout cves command
    Here is a pipeline example:
       docker-build:
      # Use the official docker image.
      image: docker:cli
      stage: build
      services:
        - docker:dind
      variables:
        DOCKER_IMAGE_NAME: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
      before_script:
        - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
           
        # Install curl and the Docker Scout CLI
        - |
          apk add --update curl
          curl -sSfL https://raw.githubusercontent.com/docker/scout-cli/main/install.sh | sh -s -- 
          apk del curl 
          rm -rf /var/cache/apk/* 
        # Login to Docker Hub required for Docker Scout CLI
        - echo "$DOCKER_HUB_PAT" | docker login --username "$DOCKER_HUB_USER" --password-stdin
    
      # All branches are tagged with $DOCKER_IMAGE_NAME (defaults to commit ref slug)
      # Default branch is also tagged with `latest`
      script:
        - docker buildx b --pull -t "$DOCKER_IMAGE_NAME" .
        - docker scout cves "$DOCKER_IMAGE_NAME" --format gitlab --output gl-container-scanning-report.json
        - docker push "$DOCKER_IMAGE_NAME"
        - |
          if [[ "$CI_COMMIT_BRANCH" == "$CI_DEFAULT_BRANCH" ]]; then
            docker tag "$DOCKER_IMAGE_NAME" "$CI_REGISTRY_IMAGE:latest"
            docker push "$CI_REGISTRY_IMAGE:latest"
          fi
      # Run this job in a branch where a Dockerfile exists
      rules:
        - if: $CI_COMMIT_BRANCH
          exists:
            - Dockerfile
      artifacts:
        reports:
          container_scanning: gl-container-scanning-report.json

Bug Fixes / Improvements

  • Support single arch images for docker scout attest add command
  • Indicate if an image provenance has not been created using max mode on docker scout quickview and docker scout recommendations commands.
    Without max mode, base image might be auto-detected and might result in less accurate results.

Contributors

@cdupuis @LaurentGoderre @eunomie @laurazard

v1.8.0

25 Apr 16:16
2f81ab9
Compare
Choose a tag to compare

Bug Fixes / Improvements

  • Improve format of EPSS score and percentile
    • Before:
      EPSS Score      : 0.000440
      EPSS Percentile : 0.092510
      
    • After:
      EPSS Score      : 0.04%
      EPSS Percentile : 9th percentile
      
  • Fix cves command when used to analyse a local file system with a markdown output. See #113

Contributors

@cdupuis @LaurentGoderre @eunomie

v1.7.0

15 Apr 16:33
8d59131
Compare
Choose a tag to compare

Highlights

  • docker scout push command: index an image then push the resulting SBOM to Docker Scout

Bug Fixes / Improvements

  • Fix adding attestation (like vex statements) to a private image
  • fix image processing for scratch "images"
  • docker scout sbom:// can read Scout's SBOM
    $ docker scout sbom IMAGE | docker scout qv sbom://
  • Add classifier for Joomla

Contributors

@cdupuis @eunomie @chrispatrick @LaurentGoderre @pnorton5432

v1.6.4

26 Mar 19:44
9ce733c
Compare
Choose a tag to compare

Bug Fix

Fix epoch handling for rpm-based images


Contributor(s)

@cdupuis

v1.6.3

22 Mar 08:46
57c1e53
Compare
Choose a tag to compare

Bug Fixes / Improvements

  • improve package detection to ignore referenced but not installed packages

Contributors

@cdupuis

v1.6.2

22 Mar 08:43
0d631aa
Compare
Choose a tag to compare

Highlights

  • EPSS data are now fetch backend side so the CLI doesn't need anymore to fetch them locally.
    In comparison to v1.6.0 --epss-date parameter has been removed and docker scout cache prune --epss has been removed.

Bug Fixes / Improvements

  • fix an issue when rendering markdown output using sbom:// prefix

Contributors

@cdupuis @eunomie @felipecruz91

v1.6.0

19 Mar 21:57
9277e05
Compare
Choose a tag to compare

Highlights

  • Add support for passing in SBOM files in SDPX or in-toto SDPX format
    $ docker scout cves sbom://path/to/sbom.spdx.json
  • Add support for SBOM files in syft-json format
    $ docker scout cves sbom://path/to/sbom.syft.json
  • Reads sbom files from the standard input
    $ syft -o json alpine | docker scout cves sbom://
  • Prioritise CVEs by EPSS score
    • --epss to display and prioritise the CVEs
    • --epss-score and --epss-percentile to filter by score and percentile
    • prune cached EPSS files with
      $ docker scout cache prune --epss
  • Use Windows cache from WSL2
    When inside WSL2 with Docker Desktop running, the docker scout CLI will now use the cache from Windows side. That way if an image has been indexed for instance by Docker Desktop there's no need anymore to re-index it on WSL2 side.
  • Indexing using the CLI is now blocked if it has been disabled using Settings Management feature

Bug Fixes / Improvements

  • Fix panic when indexing single image oci-dir input
  • Improve local attestation support with the containerd image store

Contributors

@cdupuis @eunomie @chrispatrick @felipecruz91 @dvdksn @pnorton5432

v1.5.2

15 Mar 14:34
471c526
Compare
Choose a tag to compare

General bug fixes and performance improvements

v1.5.1

05 Mar 08:16
v1.5.1
1faa624
Compare
Choose a tag to compare

What's Changed

  • Fix panic on single image oci-dir input by @cdupuis