index cli plugin
0.0.35
Note: This repository is not an officially supported Docker project.
docker index
Docker CLI toolDocker CLI tool to create image SBOMs as well as analyze packages for known vulnerabilities using the Atomist data plane.
You can install manually by following these steps:
docker-index sbom
To create an SBOM for a local or remote image, run the following command:
$ docker-index sbom --image <IMAGE>
--image
can either be a local image id or fully qualified image name from a remote registry--oci-dir
can point to a local image in OCI directory format--output
allows to store the generated SBOM in a local file--include-cves
will include all detected CVEs in generated outputdocker-index cve
To detect base images for local or remote images, use the following command:
$ docker-index cve --image <IMAGE> CVE_ID
--image
can either be a local image id or fully qualified image name from a remote registry--oci-dir
can point to a local image in OCI directory format--remediate
include suggested remediation in the outputCVE_ID
can be any known CVE id