INTERFACE

ArtifactMetadata

ArtifactMetadata is a container for additional information about an artifact. An artifact represents the files/images used to deploy a runnable resource whether that be an application, container or VM, not the actual running resource. As of now we support ArtifactSBOMInfo as metadata. Domain specific implementation may add more metadata as appropriate

link GraphQL Schema definition

  • interface ArtifactMetadata {
  • # Domain-specific artifact metadata instance identifier
  • artifactMetadataId: String!
  • # metadata versions for this ArtifactMetadata
  • #
  • # Arguments
  • # after: Return records after the given cursor, as per GraphQL
  • # Relay spec
  • # artifactMetadataVersionId: Optionally filter by
  • # artifactMetadata version ids, this should support wildcards Eg. 2.*
  • # before: Return records before the given cursor, as per GraphQL
  • # Relay spec
  • # filter: [Not documented]
  • # first: Return first N records in a paged response, as per
  • # GraphQL Relay spec
  • # sort: Sort by one or more attributes, default SORT order:
  • # creationTime descending
  • artifactMetadataVersions(
  • after: String,
  • artifactMetadataVersionId: [String!],
  • before: String,
  • filter: QueryFilter,
  • first: Int,
  • sort: [QuerySort!]
  • ): ArtifactMetadataVersionConnection!
  • # Global opaque identifier to meet Node contract
  • id: ID!
  • # Artifact name
  • name: String!
  • }