Occurrence class
An instance of an analysis type that has been found on a resource.
Constructors
- Occurrence({AttestationOccurrence? attestation, BuildOccurrence? build, ComplianceOccurrence? compliance, String? createTime, DeploymentOccurrence? deployment, DiscoveryOccurrence? discovery, DSSEAttestationOccurrence? dsseAttestation, Envelope? envelope, ImageOccurrence? image, String? kind, String? name, String? noteName, PackageOccurrence? package, String? remediation, String? resourceUri, String? updateTime, UpgradeOccurrence? upgrade, VulnerabilityOccurrence? vulnerability})
- Occurrence.fromJson(Map _json)
Properties
- attestation ↔ AttestationOccurrence?
-
Describes an attestation of an artifact.
getter/setter pair
- build ↔ BuildOccurrence?
-
Describes a verifiable build.
getter/setter pair
- compliance ↔ ComplianceOccurrence?
-
Describes a compliance violation on a linked resource.
getter/setter pair
- createTime ↔ String?
-
The time this occurrence was created.
getter/setter pair
- deployment ↔ DeploymentOccurrence?
-
Describes the deployment of an artifact on a runtime.
getter/setter pair
- discovery ↔ DiscoveryOccurrence?
-
Describes when a resource was discovered.
getter/setter pair
- dsseAttestation ↔ DSSEAttestationOccurrence?
-
Describes an attestation of an artifact using dsse.
getter/setter pair
- envelope ↔ Envelope?
-
https://github.com/secure-systems-lab/dsse
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- image ↔ ImageOccurrence?
-
Describes how this resource derives from the basis in the associated note.
getter/setter pair
- kind ↔ String?
-
This explicitly denotes which of the occurrence details are specified.
getter/setter pair
- name ↔ String?
-
The name of the occurrence in the form of
projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]
.getter/setter pair - noteName ↔ String?
-
The analysis note associated with this occurrence, in the form of
projects/[PROVIDER_ID]/notes/[NOTE_ID]
.getter/setter pair - package ↔ PackageOccurrence?
-
Describes the installation of a package on the linked resource.
getter/setter pair
- remediation ↔ String?
-
A description of actions that can be taken to remedy the note.
getter/setter pair
- resourceUri ↔ String?
-
A URI that represents the resource for which the occurrence applies.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- updateTime ↔ String?
-
The time this occurrence was last updated.
getter/setter pair
- upgrade ↔ UpgradeOccurrence?
-
Describes an available package upgrade on the linked resource.
getter/setter pair
- vulnerability ↔ VulnerabilityOccurrence?
-
Describes a security vulnerability.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited