diff --git a/docs/attributes-registry/README.md b/docs/attributes-registry/README.md index 49d5806716..372a105609 100644 --- a/docs/attributes-registry/README.md +++ b/docs/attributes-registry/README.md @@ -71,6 +71,7 @@ Currently, the following namespaces exist: - [Messaging](messaging.md) - [Network](network.md) - [OCI](oci.md) +- [Oci2](oci2.md) - [OpenTracing](opentracing.md) - [OS](os.md) - [OTel](otel.md) diff --git a/docs/attributes-registry/oci2.md b/docs/attributes-registry/oci2.md new file mode 100644 index 0000000000..a685572752 --- /dev/null +++ b/docs/attributes-registry/oci2.md @@ -0,0 +1,18 @@ + + + + + +# Oci2 + +## Open Container Initiative (OCI) Attributes + +An OCI image manifest. + +| Attribute | Type | Description | Examples | Stability | +| --------------------- | ------ | -------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ---------------------------------------------------------------- | +| `oci.manifest.digest` | string | The digest of the OCI image manifest. For container images specifically is the digest by which the container image is known. [1] | `sha256:e4ca62c0d62f3e886e684806dfe9d4e0cda60d54986898173c1083856cfda0f4` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | + +**[1]:** Follows [OCI Image Manifest Specification](https://github.com/opencontainers/image-spec/blob/main/manifest.md), and specifically the [Digest property](https://github.com/opencontainers/image-spec/blob/main/descriptor.md#digests). +An example can be found in [Example Image Manifest](https://docs.docker.com/registry/spec/manifest-v2-2/#example-image-manifest). diff --git a/model/registry/oci2.yaml b/model/registry/oci2.yaml new file mode 100644 index 0000000000..6d3af468b6 --- /dev/null +++ b/model/registry/oci2.yaml @@ -0,0 +1,22 @@ +groups: + - id: registry.oci2.manifest + type: attribute_group + display_name: Open Container Initiative (OCI) Attributes + brief: > + An OCI image manifest. + attributes: + - id: oci.manifest.digest + type: string + stability: experimental + brief: > + The digest of the OCI image manifest. For container images specifically is the + digest by which the container image is known. + note: > + Follows + [OCI Image Manifest Specification](https://github.com/opencontainers/image-spec/blob/main/manifest.md), + and specifically the + [Digest property](https://github.com/opencontainers/image-spec/blob/main/descriptor.md#digests). + + An example can be found in + [Example Image Manifest](https://docs.docker.com/registry/spec/manifest-v2-2/#example-image-manifest). + examples: [ 'sha256:e4ca62c0d62f3e886e684806dfe9d4e0cda60d54986898173c1083856cfda0f4' ]