OccurrenceArgs constructor

const OccurrenceArgs({
  1. Input<AttestationOccurrence>? attestation,
  2. Input<BuildOccurrence>? build,
  3. Input<ComplianceOccurrence>? compliance,
  4. Input<DeploymentOccurrence>? deployment,
  5. Input<DiscoveryOccurrence>? discovery,
  6. Input<DSSEAttestationOccurrence>? dsseAttestation,
  7. Input<Envelope>? envelope,
  8. Input<ImageOccurrence>? image,
  9. required Input<String> noteName,
  10. Input<PackageOccurrence>? package,
  11. Input<String>? project,
  12. Input<String>? remediation,
  13. required Input<String> resourceUri,
  14. Input<SBOMReferenceOccurrence>? sbomReference,
  15. Input<UpgradeOccurrence>? upgrade,
  16. 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,
});