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.
attestationDescribes an attestation of an artifact.buildDescribes a verifiable build.complianceDescribes a compliance violation on a linked resource.deploymentDescribes the deployment of an artifact on a runtime.discoveryDescribes when a resource was discovered.dsseAttestationDescribes an attestation of an artifact using dsse.envelopehttps://github.com/secure-systems-lab/dsseimageDescribes how this resource derives from the basis in the associated note.noteNameImmutable. 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.packageDescribes the installation of a package on the linked resource.projectOptional.remediationA description of actions that can be taken to remedy the note.resourceUriImmutable. A URI that represents the resource for which the occurrence applies. For example,https://gcr.io/project/image@sha256:123abcfor a Docker image.sbomReferenceDescribes a specific SBOM reference occurrences.upgradeDescribes an available package upgrade on the linked resource.vulnerabilityDescribes 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:123abcfor 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