REST Resource: providers.notes.occurrences

Resource: Occurrence

Occurrence includes information about analysis occurrences for an image.

JSON representation
{
  "name": string,
  "resourceUrl": string,
  "resource": {
    object (Resource)
  },
  "noteName": string,
  "kind": enum (Kind),
  "remediation": string,
  "createTime": string,
  "updateTime": string,

  // Union field details can be only one of the following:
  "vulnerabilityDetails": {
    object (VulnerabilityDetails)
  },
  "buildDetails": {
    object (BuildDetails)
  },
  "derivedImage": {
    object (Derived)
  },
  "installation": {
    object (Installation)
  },
  "deployment": {
    object (Deployment)
  },
  "discovered": {
    object (Discovered)
  },
  "attestation": {
    object (Attestation)
  }
  // End of list of possible types for union field details.
}
Fields
name

string

Output only. The name of the Occurrence in the form "projects/{projectId}/occurrences/{OCCURRENCE_ID}"

resourceUrl

string

The unique URL of the image or the container for which the Occurrence applies. For example, https://gcr.io/project/image@sha256:foo This field can be used as a filter in list requests.

resource

object (Resource)

The resource for which the Occurrence applies.

noteName

string

An analysis note associated with this image, in the form "providers/{providerId}/notes/{NOTE_ID}" This field can be used as a filter in list requests.

kind

enum (Kind)

Output only. This explicitly denotes which of the Occurrence details are specified. This field can be used as a filter in list requests.

remediation

string

A description of actions that can be taken to remedy the Note

createTime

string (Timestamp format)

Output only. The time this Occurrence was created.

A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".

updateTime

string (Timestamp format)

Output only. The time this Occurrence was last updated.

A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".

Union field details. Describes the details of the vulnerability Note found in this resource. details can be only one of the following:
vulnerabilityDetails

object (VulnerabilityDetails)

Details of a security vulnerability note.

buildDetails

object (BuildDetails)

Build details for a verifiable build.

derivedImage

object (Derived)

Describes how this resource derives from the basis in the associated note.

installation

object (Installation)

Describes the installation of a package on the linked resource.

deployment

object (Deployment)

Describes the deployment of an artifact on a runtime.

discovered

object (Discovered)

Describes the initial scan status for this resource.

attestation

object (Attestation)

Describes an attestation of an artifact.

Methods

list

Lists Occurrences referencing the specified Note.
Esta página foi útil? Conte sua opinião sobre:

Enviar comentários sobre…