DiscoveryOccurrence class

Provides information about the analysis status of a discovered resource.

Constructors

DiscoveryOccurrence({AnalysisCompleted? analysisCompleted, List<Status>? analysisError, String? analysisStatus, Status? analysisStatusError, String? archiveTime, String? continuousAnalysis, String? cpe, List<File>? files, String? lastScanTime, String? lastVulnerabilityUpdateTime, SBOMStatus? sbomStatus})
DiscoveryOccurrence.fromJson(Map json_)

Properties

analysisCompleted ↔ AnalysisCompleted?
getter/setter pair
analysisError ↔ List<Status>?
Indicates any errors encountered during analysis of a resource.
getter/setter pair
analysisStatus ↔ String?
The status of discovery for the resource. Possible string values are:
getter/setter pair
analysisStatusError ↔ Status?
When an error is encountered this will contain a LocalizedMessage under details to show to the user.
getter/setter pair
archiveTime ↔ String?
The time occurrences related to this discovery occurrence were archived.
getter/setter pair
continuousAnalysis ↔ String?
Whether the resource is continuously analyzed. Possible string values are:
getter/setter pair
cpe ↔ String?
The CPE of the resource being scanned.
getter/setter pair
files ↔ List<File>?
Files that make up the resource described by the occurrence.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
lastScanTime ↔ String?
The last time this resource was scanned.
getter/setter pair
lastVulnerabilityUpdateTime ↔ String?
The last time vulnerability scan results changed.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sbomStatus ↔ SBOMStatus?
The status of an SBOM generation.
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