View Source GoogleApi.ContainerAnalysis.V1beta1.Model.Occurrence (google_api_container_analysis v0.28.0)

An instance of an analysis type that has been found on a resource.

Attributes

  • attestation (type: GoogleApi.ContainerAnalysis.V1beta1.Model.Details.t, default: nil) - Describes an attestation of an artifact.
  • build (type: GoogleApi.ContainerAnalysis.V1beta1.Model.GrafeasV1beta1BuildDetails.t, default: nil) - Describes a verifiable build.
  • createTime (type: DateTime.t, default: nil) - Output only. The time this occurrence was created.
  • deployment (type: GoogleApi.ContainerAnalysis.V1beta1.Model.GrafeasV1beta1DeploymentDetails.t, default: nil) - Describes the deployment of an artifact on a runtime.
  • derivedImage (type: GoogleApi.ContainerAnalysis.V1beta1.Model.GrafeasV1beta1ImageDetails.t, default: nil) - Describes how this resource derives from the basis in the associated note.
  • discovered (type: GoogleApi.ContainerAnalysis.V1beta1.Model.GrafeasV1beta1DiscoveryDetails.t, default: nil) - Describes when a resource was discovered.
  • envelope (type: GoogleApi.ContainerAnalysis.V1beta1.Model.Envelope.t, default: nil) - https://github.com/secure-systems-lab/dsse
  • installation (type: GoogleApi.ContainerAnalysis.V1beta1.Model.GrafeasV1beta1PackageDetails.t, default: nil) - Describes the installation of a package on the linked resource.
  • intoto (type: GoogleApi.ContainerAnalysis.V1beta1.Model.GrafeasV1beta1IntotoDetails.t, default: nil) - Describes a specific in-toto link.
  • kind (type: String.t, default: nil) - Output only. This explicitly denotes which of the occurrence details are specified. This field can be used as a filter in list requests.
  • name (type: String.t, default: nil) - Output only. The name of the occurrence in the form of projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID].
  • noteName (type: String.t, default: nil) - Required. Immutable. The analysis note associated with this occurrence, in the form of projects/[PROVIDER_ID]/notes/[NOTE_ID]. This field can be used as a filter in list requests.
  • remediation (type: String.t, default: nil) - A description of actions that can be taken to remedy the note.
  • resource (type: GoogleApi.ContainerAnalysis.V1beta1.Model.Resource.t, default: nil) - Required. Immutable. The resource for which the occurrence applies.
  • sbom (type: GoogleApi.ContainerAnalysis.V1beta1.Model.DocumentOccurrence.t, default: nil) - Describes a specific software bill of materials document.
  • sbomReference (type: GoogleApi.ContainerAnalysis.V1beta1.Model.SBOMReferenceOccurrence.t, default: nil) - Describes a specific SBOM reference occurrences.
  • spdxFile (type: GoogleApi.ContainerAnalysis.V1beta1.Model.FileOccurrence.t, default: nil) - Describes a specific SPDX File.
  • spdxPackage (type: GoogleApi.ContainerAnalysis.V1beta1.Model.PackageInfoOccurrence.t, default: nil) - Describes a specific SPDX Package.
  • spdxRelationship (type: GoogleApi.ContainerAnalysis.V1beta1.Model.RelationshipOccurrence.t, default: nil) - Describes a specific SPDX Relationship.
  • updateTime (type: DateTime.t, default: nil) - Output only. The time this occurrence was last updated.
  • vulnerability (type: GoogleApi.ContainerAnalysis.V1beta1.Model.GrafeasV1beta1VulnerabilityDetails.t, default: nil) - Describes a security vulnerability.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContainerAnalysis.V1beta1.Model.Occurrence{
  attestation: GoogleApi.ContainerAnalysis.V1beta1.Model.Details.t() | nil,
  build:
    GoogleApi.ContainerAnalysis.V1beta1.Model.GrafeasV1beta1BuildDetails.t()
    | nil,
  createTime: DateTime.t() | nil,
  deployment:
    GoogleApi.ContainerAnalysis.V1beta1.Model.GrafeasV1beta1DeploymentDetails.t()
    | nil,
  derivedImage:
    GoogleApi.ContainerAnalysis.V1beta1.Model.GrafeasV1beta1ImageDetails.t()
    | nil,
  discovered:
    GoogleApi.ContainerAnalysis.V1beta1.Model.GrafeasV1beta1DiscoveryDetails.t()
    | nil,
  envelope: GoogleApi.ContainerAnalysis.V1beta1.Model.Envelope.t() | nil,
  installation:
    GoogleApi.ContainerAnalysis.V1beta1.Model.GrafeasV1beta1PackageDetails.t()
    | nil,
  intoto:
    GoogleApi.ContainerAnalysis.V1beta1.Model.GrafeasV1beta1IntotoDetails.t()
    | nil,
  kind: String.t() | nil,
  name: String.t() | nil,
  noteName: String.t() | nil,
  remediation: String.t() | nil,
  resource: GoogleApi.ContainerAnalysis.V1beta1.Model.Resource.t() | nil,
  sbom: GoogleApi.ContainerAnalysis.V1beta1.Model.DocumentOccurrence.t() | nil,
  sbomReference:
    GoogleApi.ContainerAnalysis.V1beta1.Model.SBOMReferenceOccurrence.t() | nil,
  spdxFile: GoogleApi.ContainerAnalysis.V1beta1.Model.FileOccurrence.t() | nil,
  spdxPackage:
    GoogleApi.ContainerAnalysis.V1beta1.Model.PackageInfoOccurrence.t() | nil,
  spdxRelationship:
    GoogleApi.ContainerAnalysis.V1beta1.Model.RelationshipOccurrence.t() | nil,
  updateTime: DateTime.t() | nil,
  vulnerability:
    GoogleApi.ContainerAnalysis.V1beta1.Model.GrafeasV1beta1VulnerabilityDetails.t()
    | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.