From f6e63b4ebe35a3274da22852511e15710d406c30 Mon Sep 17 00:00:00 2001 From: David Karlsson <35727626+dvdksn@users.noreply.github.com> Date: Tue, 14 Nov 2023 13:21:43 +0100 Subject: [PATCH] scout: note policy eval issue with scratch image Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com> --- content/scout/policy/_index.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/content/scout/policy/_index.md b/content/scout/policy/_index.md index 7669047c5a..0afe00423b 100644 --- a/content/scout/policy/_index.md +++ b/content/scout/policy/_index.md @@ -156,3 +156,9 @@ BuildKit automatically detects the Git repository and base images when this information is available in the build context. For more information about building with attestations, see [Attestations](../../build/attestations/_index.md). + +> **Note** +> +> Docker Scout is currently unable to discern the difference between using +> `scratch` as a base image and having no base image provenance. As a result, +> images based on `scratch` always fail the Supply chain attestations policy.