DiscoveredResponse class
Provides information about the scan status of a discovered resource.
Constructors
-
DiscoveredResponse({required Input<
AnalysisCompletedResponseContaineranalysisV1alpha1> analysisCompleted, required Input<List< analysisError, required Input<StatusResponseContaineranalysisV1alpha1> >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.
analysisCompletedThe list of analysis that were completed for a resource.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 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.operationAn operation that indicates the status of the current scan. This field is deprecated, do not use.sbomStatusThe 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