Skip to content

Commit

Permalink
EC-905 - Document input.snapshot in policy.input
Browse files Browse the repository at this point in the history
This commit documents the modification that was introduced to the policy
input in #1737 to
include the provided snapshot.

Signed-off-by: robnester-rh <[email protected]>
  • Loading branch information
robnester-rh committed Oct 24, 2024
1 parent 63c2fe6 commit 887ade6
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion docs/modules/ROOT/pages/policy_input.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ being available. Not all information is available for all images. This is noted
description of each attribute.

It is important to note that this command may proccess multiple images at the same time. In such
cases, a different input is generated for each image. In other words, policy rules only eve have
cases, a different input is generated for each image. In other words, policy rules only ever have
access to the information about a single image.

[,json]
Expand All @@ -29,6 +29,7 @@ access to the information about a single image.
}
],
"image": #ImageDescriptor
"snapshot": #SnapshotDescriptor
}
#ImageDescriptor: {
Expand All @@ -54,6 +55,19 @@ access to the information about a single image.
"url": "<STRING>"
}
}
#SnapshotDescriptor: {
"application": "<STRING>",
"displayName": "<STRING>",
"displayDescription": "<STRING>",
"components": [..."#SnapshotComponentDescriptor"]
}
#SnapshotComponentDescriptor: {
"name": "<STRING>",
"containerImage": "<STRING>",
"source": #SourceDescriptor"
}
----

`.attestations` is an array of objects. Each object contains the `.statement` and the `.signatures`
Expand Down

0 comments on commit 887ade6

Please sign in to comment.