OccurrenceArgs constructor
- 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.
Implementation
const OccurrenceArgs({
this.attestation,
this.build,
this.compliance,
this.deployment,
this.discovery,
this.dsseAttestation,
this.envelope,
this.image,
required this.noteName,
this.package,
this.project,
this.remediation,
required this.resourceUri,
this.sbomReference,
this.upgrade,
this.vulnerability,
});