DiscoveryOccurrenceResponse class
Provides information about the analysis status of a discovered resource.
Constructors
-
DiscoveryOccurrenceResponse({required Input<
AnalysisCompletedResponse> analysisCompleted, required Input<List< analysisError, required Input<StatusResponse> >String> analysisStatus, required Input<StatusResponse> analysisStatusError, required Input<String> archiveTime, required Input<String> continuousAnalysis, required Input<String> cpe, required Input<String> lastScanTime, required Input<SBOMStatusResponse> sbomStatus}) -
Creates a new DiscoveryOccurrenceResponse.
analysisCompletedRequired.analysisErrorIndicates any errors encountered during analysis of a resource. There could be 0 or more of these errors.analysisStatusThe status of discovery for the resource.analysisStatusErrorWhen an error is encountered this will contain a LocalizedMessage under details to show to the user. The LocalizedMessage is output only and populated by the API.archiveTimeThe time occurrences related to this discovery occurrence were archived.continuousAnalysisWhether the resource is continuously analyzed.cpeThe CPE of the resource being scanned.lastScanTimeThe last time this resource was scanned.sbomStatusThe status of an SBOM generation.const -
DiscoveryOccurrenceResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
analysisCompleted
→ Input<
AnalysisCompletedResponse> -
final
-
analysisError
→ Input<
List< StatusResponse> > -
Indicates any errors encountered during analysis of a resource. There could be 0 or more of these errors.
final
-
analysisStatus
→ Input<
String> -
The status of discovery for the resource.
final
-
analysisStatusError
→ Input<
StatusResponse> -
When an error is encountered this will contain a LocalizedMessage under details to show to the user. The LocalizedMessage is output only and populated by the API.
final
-
archiveTime
→ Input<
String> -
The time occurrences related to this discovery occurrence were archived.
final
-
continuousAnalysis
→ Input<
String> -
Whether the resource is continuously analyzed.
final
-
cpe
→ Input<
String> -
The CPE of the resource being scanned.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
lastScanTime
→ Input<
String> -
The last time this resource was scanned.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sbomStatus
→ Input<
SBOMStatusResponse> -
The status of an SBOM generation.
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