GoogleApi.OnDemandScanning.V1.Model.Occurrence (google_api_on_demand_scanning v0.7.0)
View SourceAn instance of an analysis type that has been found on a resource.
Attributes
-
attestation
(type:GoogleApi.OnDemandScanning.V1.Model.AttestationOccurrence.t
, default:nil
) - Describes an attestation of an artifact. -
build
(type:GoogleApi.OnDemandScanning.V1.Model.BuildOccurrence.t
, default:nil
) - Describes a verifiable build. -
compliance
(type:GoogleApi.OnDemandScanning.V1.Model.ComplianceOccurrence.t
, default:nil
) - Describes a compliance violation on a linked resource. -
createTime
(type:DateTime.t
, default:nil
) - Output only. The time this occurrence was created. -
deployment
(type:GoogleApi.OnDemandScanning.V1.Model.DeploymentOccurrence.t
, default:nil
) - Describes the deployment of an artifact on a runtime. -
discovery
(type:GoogleApi.OnDemandScanning.V1.Model.DiscoveryOccurrence.t
, default:nil
) - Describes when a resource was discovered. -
dsseAttestation
(type:GoogleApi.OnDemandScanning.V1.Model.DSSEAttestationOccurrence.t
, default:nil
) - Describes an attestation of an artifact using dsse. -
envelope
(type:GoogleApi.OnDemandScanning.V1.Model.Envelope.t
, default:nil
) - https://github.com/secure-systems-lab/dsse -
image
(type:GoogleApi.OnDemandScanning.V1.Model.ImageOccurrence.t
, default:nil
) - Describes how this resource derives from the basis in the associated note. -
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 ofprojects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]
. -
noteName
(type:String.t
, default:nil
) - Required. Immutable. The analysis note associated with this occurrence, in the form ofprojects/[PROVIDER_ID]/notes/[NOTE_ID]
. This field can be used as a filter in list requests. -
package
(type:GoogleApi.OnDemandScanning.V1.Model.PackageOccurrence.t
, default:nil
) - Describes the installation of a package on the linked resource. -
remediation
(type:String.t
, default:nil
) - A description of actions that can be taken to remedy the note. -
resourceUri
(type:String.t
, default:nil
) - Required. Immutable. A URI that represents the resource for which the occurrence applies. For example,https://gcr.io/project/image@sha256:123abc
for a Docker image. -
sbomReference
(type:GoogleApi.OnDemandScanning.V1.Model.SBOMReferenceOccurrence.t
, default:nil
) - Describes a specific SBOM reference occurrences. -
updateTime
(type:DateTime.t
, default:nil
) - Output only. The time this occurrence was last updated. -
upgrade
(type:GoogleApi.OnDemandScanning.V1.Model.UpgradeOccurrence.t
, default:nil
) - Describes an available package upgrade on the linked resource. -
vulnerability
(type:GoogleApi.OnDemandScanning.V1.Model.VulnerabilityOccurrence.t
, default:nil
) - Describes a security vulnerability.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.OnDemandScanning.V1.Model.Occurrence{ attestation: GoogleApi.OnDemandScanning.V1.Model.AttestationOccurrence.t() | nil, build: GoogleApi.OnDemandScanning.V1.Model.BuildOccurrence.t() | nil, compliance: GoogleApi.OnDemandScanning.V1.Model.ComplianceOccurrence.t() | nil, createTime: DateTime.t() | nil, deployment: GoogleApi.OnDemandScanning.V1.Model.DeploymentOccurrence.t() | nil, discovery: GoogleApi.OnDemandScanning.V1.Model.DiscoveryOccurrence.t() | nil, dsseAttestation: GoogleApi.OnDemandScanning.V1.Model.DSSEAttestationOccurrence.t() | nil, envelope: GoogleApi.OnDemandScanning.V1.Model.Envelope.t() | nil, image: GoogleApi.OnDemandScanning.V1.Model.ImageOccurrence.t() | nil, kind: String.t() | nil, name: String.t() | nil, noteName: String.t() | nil, package: GoogleApi.OnDemandScanning.V1.Model.PackageOccurrence.t() | nil, remediation: String.t() | nil, resourceUri: String.t() | nil, sbomReference: GoogleApi.OnDemandScanning.V1.Model.SBOMReferenceOccurrence.t() | nil, updateTime: DateTime.t() | nil, upgrade: GoogleApi.OnDemandScanning.V1.Model.UpgradeOccurrence.t() | nil, vulnerability: GoogleApi.OnDemandScanning.V1.Model.VulnerabilityOccurrence.t() | nil }