From 50e6f7b3a25067aba81da478847f9fe364bc89a3 Mon Sep 17 00:00:00 2001 From: James Rodewig Date: Mon, 11 Sep 2023 16:15:39 -0400 Subject: [PATCH] [DOCS] Remove Cosign x-ref to ES book from Docker docs (#11629) (cherry picked from commit c0e28dc1508fd8c6ae29283896e074ab445d1ee7) --- docs/shared-docker.asciidoc | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/docs/shared-docker.asciidoc b/docs/shared-docker.asciidoc index d8bb0528cf7..f783b5ef108 100644 --- a/docs/shared-docker.asciidoc +++ b/docs/shared-docker.asciidoc @@ -39,12 +39,21 @@ docker pull {dockerimage} . Verify the Docker image: + ["source", "sh", subs="attributes"] ------------------------------------------------- +---- wget https://artifacts.elastic.co/cosign.pub -cosign verify --key cosign.pub {dockerimage}:{version} ------------------------------------------------- +cosign verify --key cosign.pub {dockerimage} +---- ++ +The `cosign` command prints the check results and the signature payload in JSON format: + -For details about this step, refer to {ref}/docker.html#docker-verify-signature[Verify the {es} Docker image signature] in the {es} documentation. +[source,sh,subs="attributes"] +---- +Verification for {dockerimage} -- +The following checks were performed on each of these signatures: + - The cosign claims were validated + - Existence of the claims in the transparency log was verified offline + - The signatures were verified against the specified public key +---- endif::[]