Occurrence class

An instance of an analysis type that has been found on a resource.

Constructors

Occurrence({Details? attestation, GrafeasV1beta1BuildDetails? build, String? createTime, GrafeasV1beta1DeploymentDetails? deployment, GrafeasV1beta1ImageDetails? derivedImage, GrafeasV1beta1DiscoveryDetails? discovered, GrafeasV1beta1PackageDetails? installation, GrafeasV1beta1IntotoDetails? intoto, String? kind, String? name, String? noteName, String? remediation, Resource? resource, DocumentOccurrence? sbom, FileOccurrence? spdxFile, PackageInfoOccurrence? spdxPackage, RelationshipOccurrence? spdxRelationship, String? updateTime, GrafeasV1beta1VulnerabilityDetails? vulnerability})
Occurrence.fromJson(Map _json)

Properties

attestation Details?
Describes an attestation of an artifact.
getter/setter pair
build GrafeasV1beta1BuildDetails?
Describes a verifiable build.
getter/setter pair
createTime String?
The time this occurrence was created.
getter/setter pair
deployment GrafeasV1beta1DeploymentDetails?
Describes the deployment of an artifact on a runtime.
getter/setter pair
derivedImage GrafeasV1beta1ImageDetails?
Describes how this resource derives from the basis in the associated note.
getter/setter pair
discovered GrafeasV1beta1DiscoveryDetails?
Describes when a resource was discovered.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
installation GrafeasV1beta1PackageDetails?
Describes the installation of a package on the linked resource.
getter/setter pair
intoto GrafeasV1beta1IntotoDetails?
Describes a specific in-toto link.
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
remediation String?
A description of actions that can be taken to remedy the note.
getter/setter pair
resource Resource?
The resource for which the occurrence applies.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sbom DocumentOccurrence?
Describes a specific software bill of materials document.
getter/setter pair
spdxFile FileOccurrence?
Describes a specific SPDX File.
getter/setter pair
spdxPackage PackageInfoOccurrence?
Describes a specific SPDX Package.
getter/setter pair
spdxRelationship RelationshipOccurrence?
Describes a specific SPDX Relationship.
getter/setter pair
updateTime String?
The time this occurrence was last updated.
getter/setter pair
vulnerability GrafeasV1beta1VulnerabilityDetails?
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