v1

latestOpenAPI 3.1.1Apache 2.02026-07-17233761.2 KB
TEA Artifact

Get metadata for latest revision of a specific TEA Artifact

get/artifact/{uuid}/latest

Path parameters

uuidstring uuid required

A UUID

UUID of TEA Artifact in the TEA server

Response

Requested TEA Artifact metadata found and returned

uuidstring uuid required

A UUID

versioninteger

An integer with default value 1. Together with uuid uniquely identifies the TEA Artifact. This field can be used to designate successive, immutable revisions of an artefact content (e.g. an updated VEX file).

namestring

Name of TEA Artifact

type'ATTESTATION' | 'BOM' | 'BUILD_META' | 'CERTIFICATION' | 'FORMULATION' | 'LICENSE' | 'RELEASE_NOTES' | 'SECURITY_TXT' | 'THREAT_MODEL' | 'VULNERABILITIES' | 'OTHER' required

Specifies the type of external reference.

createdDatestring date-time

Timestamp

distributionIdsUuid[]

List of TEA Component Release distributions that this TEA Artifact applies to. If absent or empty, the TEA Artifact applies to all distributions.

Example response

{
  "uuid": "1cb47b95-8bf8-3bad-a5a4-0d54d86e10ce",
  "name": "Build SBOM",
  "type": "BOM",
  "formats": [
    {
      "mediaType": "application/vnd.cyclonedx+xml",
      "description": "CycloneDX SBOM (XML)",
      "url": "https://repo.maven.apache.org/maven2/org/apache/logging/log4j/log4j-core/2.24.3/log4j-core-2.24.3-cyclonedx.xml",
      "signatureUrl": "https://repo.maven.apache.org/maven2/org/apache/logging/log4j/log4j-core/2.24.3/log4j-core-2.24.3-cyclonedx.xml.asc",
      "checksums": [
        {
          "algType": "MD5",
          "algValue": "2e1a525afc81b0a8ecff114b8b743de9"
        },
        {
          "algType": "SHA-1",
          "algValue": "5a7d4caef63c5c5ccdf07c39337323529eb5a770"
        }
      ]
    }
  ]
}