diff --git a/content/en/docs/writing-policies/external-data-sources.md b/content/en/docs/writing-policies/external-data-sources.md index 17c16cec4..e305735c2 100644 --- a/content/en/docs/writing-policies/external-data-sources.md +++ b/content/en/docs/writing-policies/external-data-sources.md @@ -752,6 +752,7 @@ the output `imageData` variable will have a structure which looks like the follo "registry": "ghcr.io", "repository": "kyverno/kyverno", "identifier": "latest", + "imageIndex": imageIndex, "manifest": manifest, "configData": config, } @@ -771,7 +772,7 @@ The `imageData` variable represents a "normalized" view of an image after any re ``` {{% /alert %}} -The `manifest` and `config` keys contain the output from `crane manifest ` and `crane config ` respectively. +The `imageIndex`, `manifest` and `config` keys contain the output from `crane manifest ` and `crane config ` respectively. For example, one could inspect the labels, entrypoint, volumes, history, layers, etc of a given image. Using the [crane](https://github.com/google/go-containerregistry/tree/main/cmd/crane) tool, show the config of the `ghcr.io/kyverno/kyverno:latest` image: