Skip to content

Commit 2d0dbbb

Browse files
committed
Add a security annotation
Signed-off-by: Brandon Mitchell <[email protected]>
1 parent 2daaaaf commit 2d0dbbb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

annotations.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ This specification defines the following annotation keys, intended for but not l
5353
- This SHOULD be the immediate image sharing zero-indexed layers with the image, such as from a Dockerfile `FROM` statement.
5454
- This SHOULD NOT reference any other images used to generate the contents of the image (e.g., multi-stage Dockerfile builds).
5555
- If the `image.base.name` annotation is specified, the `image.base.digest` annotation SHOULD be the digest of the manifest referenced by the `image.ref.name` annotation.
56+
- **org.opencontainers.image.security** URL to get the image security policy (see [RFC 9116][rfc9116] for an example). (string)
5657
5758
## Back-compatibility with Label Schema
5859
@@ -74,10 +75,12 @@ While users are encouraged to use the **org.opencontainers.image** keys, tools M
7475
| `authors` | | No equivalent in Label Schema |
7576
| `licenses` | | No equivalent in Label Schema |
7677
| `ref.name` | | No equivalent in Label Schema |
78+
| `security` | | No equivalent in Label Schema |
7779
| | `schema-version`| No equivalent in the OCI Image Spec |
7880
| | `docker.*`, `rkt.*` | No equivalent in the OCI Image Spec |
7981
8082
[distribution-reference]: https://github.com/distribution/distribution/blob/d0deff9cd6c2b8c82c6f3d1c713af51df099d07b/reference/reference.go
8183
[label-schema]: https://github.com/label-schema/label-schema.org/blob/gh-pages/rc1.md
82-
[rfc3339]: https://tools.ietf.org/html/rfc3339#section-5.6
84+
[rfc3339]: https://datatracker.ietf.org/doc/html/rfc3339#section-5.6
85+
[rfc9116]: https://datatracker.ietf.org/doc/html/rfc9116
8386
[spdx-license-expression]: https://spdx.github.io/spdx-spec/v2.3/SPDX-license-expressions/

0 commit comments

Comments
 (0)