sha256:536a3bb87f6f3042e20f898274523fcfce329349d03ddf6dff1393f6022b27e6
Last pushed
10 days by dhibot
Type
Sandbox Kit
Manifest digest
sha256:536a3bb87f6f3042e20f898274523fcfce329349d03ddf6dff1393f6022b27e6
schemaVersion: "3"
displayName: Docker Scout
author: Docker, Inc. https://docker.com
description: Docker Scout CLI plugin that signs in to Scout with the host's sbx login.
sourceUrl: https://github.com/docker/scout-cli
version: 1.30.0
licenses:
- Apache-2.0
kind: mixin
provides:
- [email protected]
capabilities:
- type: com.docker.sandbox/credential@1
config:
apiKey:
inject:
- domain: api.dso.docker.com
format: Bearer %s
header: Authorization
- domain: api.scout.docker.com
format: Bearer %s
header: Authorization
name: DOCKER_SCOUT_HUB_TOKEN
proxyManaged: true
phase:
- runtime
service: sbx-login
description: Docker Scout API access through the host's sbx login
- type: com.docker.sandbox/network-policy@1
config:
runtime:
allow:
- api.dso.docker.com:443
- api.scout.docker.com:443
- type: com.docker.sandbox/agent-context@1
optional: true
config:
content: |
# Docker Scout
Docker Scout is installed as a Docker CLI plugin at
`~/.docker/cli-plugins/docker-scout`. Run it as `docker scout`, or as
`docker-scout` (a launcher in `~/.local/bin`) where there is no Docker CLI.
- Authentication is proxy-managed: `DOCKER_SCOUT_HUB_TOKEN` is set to a
sentinel and the host's sbx login is injected on requests to
api.scout.docker.com and api.dso.docker.com. Never print or copy the
token; it is not the real value anyway.
- Do not run `docker login` to sign in to Scout. It already works.
- This kit grants access to the Scout APIs only. Scanning an image in a
registry also needs network access and credentials for that registry.
Scanning an SBOM file (`sbom://path`) needs neither.
- type: com.docker.sandbox/agent-context@2
optional: true
config:
content: |
# Docker Scout
Docker Scout is installed as a Docker CLI plugin at
`~/.docker/cli-plugins/docker-scout`. Run it as `docker scout`, or as
`docker-scout` (a launcher in `~/.local/bin`) where there is no Docker CLI.
- Authentication is proxy-managed: `DOCKER_SCOUT_HUB_TOKEN` is set to a
sentinel and the host's sbx login is injected on requests to
api.scout.docker.com and api.dso.docker.com. Never print or copy the
token; it is not the real value anyway.
- Do not run `docker login` to sign in to Scout. It already works.
- This kit grants access to the Scout APIs only. Scanning an image in a
registry also needs network access and credentials for that registry.
Scanning an SBOM file (`sbom://path`) needs neither.
args:
version:
required: true
description: Docker Scout CLI release carried by the overlay
pattern: ^1\.[0-9]+\.[0-9]+$
buildArg: SCOUT_VERSION