OccurrenceArgs class

The set of arguments for Occurrence. The set of arguments for Occurrence.

Constructors

OccurrenceArgs({Input<AttestationOccurrence>? attestation, Input<BuildOccurrence>? build, Input<ComplianceOccurrence>? compliance, Input<DeploymentOccurrence>? deployment, Input<DiscoveryOccurrence>? discovery, Input<DSSEAttestationOccurrence>? dsseAttestation, Input<Envelope>? envelope, Input<ImageOccurrence>? image, required Input<String> noteName, Input<PackageOccurrence>? package, Input<String>? project, Input<String>? remediation, required Input<String> resourceUri, Input<SBOMReferenceOccurrence>? sbomReference, Input<UpgradeOccurrence>? upgrade, Input<VulnerabilityOccurrence>? vulnerability})
Creates a new OccurrenceArgs. attestation Describes an attestation of an artifact. build Describes a verifiable build. compliance Describes a compliance violation on a linked resource. deployment Describes the deployment of an artifact on a runtime. discovery Describes when a resource was discovered. dsseAttestation Describes an attestation of an artifact using dsse. envelope https://github.com/secure-systems-lab/dsse image Describes how this resource derives from the basis in the associated note. noteName 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. package Describes the installation of a package on the linked resource. project Optional. remediation A description of actions that can be taken to remedy the note. resourceUri 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 Describes a specific SBOM reference occurrences. upgrade Describes an available package upgrade on the linked resource. vulnerability Describes a security vulnerability.
const
OccurrenceArgs.fromMap(Map<String, dynamic> map)
factory

Properties

attestation → Input<AttestationOccurrence>?
Describes an attestation of an artifact.
final
build → Input<BuildOccurrence>?
Describes a verifiable build.
final
compliance → Input<ComplianceOccurrence>?
Describes a compliance violation on a linked resource.
final
deployment → Input<DeploymentOccurrence>?
Describes the deployment of an artifact on a runtime.
final
discovery → Input<DiscoveryOccurrence>?
Describes when a resource was discovered.
final
dsseAttestation → Input<DSSEAttestationOccurrence>?
Describes an attestation of an artifact using dsse.
final
envelope → Input<Envelope>?
https://github.com/secure-systems-lab/dsse
final
hashCode → int
The hash code for this object.
no setterinherited
image → Input<ImageOccurrence>?
Describes how this resource derives from the basis in the associated note.
final
noteName → Input<String>
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.
final
package → Input<PackageOccurrence>?
Describes the installation of a package on the linked resource.
final
project → Input<String>?
final
remediation → Input<String>?
A description of actions that can be taken to remedy the note.
final
resourceUri → Input<String>
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.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sbomReference → Input<SBOMReferenceOccurrence>?
Describes a specific SBOM reference occurrences.
final
upgrade → Input<UpgradeOccurrence>?
Describes an available package upgrade on the linked resource.
final
vulnerability → Input<VulnerabilityOccurrence>?
Describes a security vulnerability.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited