Loading tutorials
jq. It covers what a Software Bill of Materials (SBOM) contains and what the BuildKit scanner puts in one. Later chapters cover generating and storing it in detail.3 min readjq. It explains what provenance records and how the SLSA framework uses it. Later chapters cover how to generate and inspect it.2 min readjq. It explains the format that wraps both: the in-toto attestation. You need this format to read the output of later chapters.2 min readjq. It explains which tool creates SBOM and provenance attestations, so you know where to look when they are missing.3 min readjq. You also need Docker Buildx and a registry you can push to. The examples use registry.example.com/demo/app, so replace it with your own repository.2 min readdocker buildx build, push to a registry, and read the output of docker buildx ls. Attestations need two things to work: a builder that can produce them, and a destination that can hold them. If either is missing, the build fails or the attestations silently disap2 min readjq, and that you know how a manifest, a digest and a multi-platform image index relate. You should also have pushed an image with --sbom=true or --provenance=mode=max as shown in the previous chapter.3 min read--sbom=true and --provenance=mode=max, you know what an image index and a digest are, and you can read JSON with jq. You will read the attestations back from the registry and check that they describe the image you built.2 min readdocker buildx build. It also assumes you know what a provenance attestation is and where it is stored in the image index, as covered in earlier chapters. Here you will compare the two provenance modes, min and max, and choose one delibe2 min read--sbom=true and read JSON with jq. It covers what the scanner looks at, how to swap it out, and where its results are incomplete.2 min read--sbom=true and read it with docker buildx imagetools inspect. Here you will change what the scanner looks at.2 min readdocker buildx build, that you know how attestations sit in an image index, and that you can read JSON with jq. It also assumes you have cosign installed and a CI system that can issue identity tokens.2 min readdocker buildx build, read JSON with jq, and know what an image digest and an image index are. It also assumes you have seen SBOM and provenance attestations in the earlier chapters. Here you learn what those attestations prove, what they do3 min read