DiscoveredResponse class

Provides information about the scan status of a discovered resource.

Constructors

DiscoveredResponse({required Input<AnalysisCompletedResponseContaineranalysisV1alpha1> analysisCompleted, required Input<List<StatusResponseContaineranalysisV1alpha1>> analysisError, required Input<String> analysisStatus, required Input<StatusResponseContaineranalysisV1alpha1> analysisStatusError, required Input<String> archiveTime, required Input<String> continuousAnalysis, required Input<String> cpe, required Input<String> lastScanTime, required Input<OperationResponse> operation, required Input<SBOMStatusResponseContaineranalysisV1alpha1> sbomStatus})
Creates a new DiscoveredResponse. analysisCompleted The list of analysis that were completed for a resource. analysisError Indicates any errors encountered during analysis of a resource. There could be 0 or more of these errors. analysisStatus The status of discovery for the resource. analysisStatusError When an error is encountered this will contain a LocalizedMessage under details to show to the user. The LocalizedMessage output only and populated by the API. archiveTime The time occurrences related to this discovery occurrence were archived. continuousAnalysis Whether the resource is continuously analyzed. cpe The CPE of the resource being scanned. lastScanTime The last time this resource was scanned. operation An operation that indicates the status of the current scan. This field is deprecated, do not use. sbomStatus The status of an SBOM generation.
const
DiscoveredResponse.fromMap(Map<String, dynamic> map)
factory

Properties

analysisCompleted → Input<AnalysisCompletedResponseContaineranalysisV1alpha1>
The list of analysis that were completed for a resource.
final
analysisError → Input<List<StatusResponseContaineranalysisV1alpha1>>
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<StatusResponseContaineranalysisV1alpha1>
When an error is encountered this will contain a LocalizedMessage under details to show to the user. The LocalizedMessage 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
operation → Input<OperationResponse>
An operation that indicates the status of the current scan. This field is deprecated, do not use.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sbomStatus → Input<SBOMStatusResponseContaineranalysisV1alpha1>
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