OccurrenceArgs

data class OccurrenceArgs(val attestation: Output<AttestationOccurrenceArgs>? = null, val build: Output<BuildOccurrenceArgs>? = null, val compliance: Output<ComplianceOccurrenceArgs>? = null, val deployment: Output<DeploymentOccurrenceArgs>? = null, val discovery: Output<DiscoveryOccurrenceArgs>? = null, val dsseAttestation: Output<DSSEAttestationOccurrenceArgs>? = null, val envelope: Output<EnvelopeArgs>? = null, val image: Output<ImageOccurrenceArgs>? = null, val noteName: Output<String>? = null, val package: Output<PackageOccurrenceArgs>? = null, val project: Output<String>? = null, val remediation: Output<String>? = null, val resourceUri: Output<String>? = null, val sbomReference: Output<SBOMReferenceOccurrenceArgs>? = null, val upgrade: Output<UpgradeOccurrenceArgs>? = null, val vulnerability: Output<VulnerabilityOccurrenceArgs>? = null) : ConvertibleToJava<OccurrenceArgs>

Creates a new occurrence. Auto-naming is currently not supported for this resource.

Constructors

Link copied to clipboard
fun OccurrenceArgs(attestation: Output<AttestationOccurrenceArgs>? = null, build: Output<BuildOccurrenceArgs>? = null, compliance: Output<ComplianceOccurrenceArgs>? = null, deployment: Output<DeploymentOccurrenceArgs>? = null, discovery: Output<DiscoveryOccurrenceArgs>? = null, dsseAttestation: Output<DSSEAttestationOccurrenceArgs>? = null, envelope: Output<EnvelopeArgs>? = null, image: Output<ImageOccurrenceArgs>? = null, noteName: Output<String>? = null, package: Output<PackageOccurrenceArgs>? = null, project: Output<String>? = null, remediation: Output<String>? = null, resourceUri: Output<String>? = null, sbomReference: Output<SBOMReferenceOccurrenceArgs>? = null, upgrade: Output<UpgradeOccurrenceArgs>? = null, vulnerability: Output<VulnerabilityOccurrenceArgs>? = null)

Functions

Link copied to clipboard
open override fun toJava(): OccurrenceArgs

Properties

Link copied to clipboard

Describes an attestation of an artifact.

Link copied to clipboard
val build: Output<BuildOccurrenceArgs>? = null

Describes a verifiable build.

Link copied to clipboard

Describes a compliance violation on a linked resource.

Link copied to clipboard

Describes the deployment of an artifact on a runtime.

Link copied to clipboard
val discovery: Output<DiscoveryOccurrenceArgs>? = null

Describes when a resource was discovered.

Link copied to clipboard

Describes an attestation of an artifact using dsse.

Link copied to clipboard
val envelope: Output<EnvelopeArgs>? = null

https://github.com/secure-systems-lab/dsse

Link copied to clipboard
val image: Output<ImageOccurrenceArgs>? = null

Describes how this resource derives from the basis in the associated note.

Link copied to clipboard
val noteName: Output<String>? = null

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.

Link copied to clipboard
val package: Output<PackageOccurrenceArgs>? = null

Describes the installation of a package on the linked resource.

Link copied to clipboard
val project: Output<String>? = null
Link copied to clipboard
val remediation: Output<String>? = null

A description of actions that can be taken to remedy the note.

Link copied to clipboard
val resourceUri: Output<String>? = null

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.

Link copied to clipboard

Describes a specific SBOM reference occurrences.

Link copied to clipboard
val upgrade: Output<UpgradeOccurrenceArgs>? = null

Describes an available package upgrade on the linked resource.

Link copied to clipboard

Describes a security vulnerability.