DiscoveredResponse constructor

const DiscoveredResponse({
  1. required Input<AnalysisCompletedResponseContaineranalysisV1alpha1> analysisCompleted,
  2. required Input<List<StatusResponseContaineranalysisV1alpha1>> analysisError,
  3. required Input<String> analysisStatus,
  4. required Input<StatusResponseContaineranalysisV1alpha1> analysisStatusError,
  5. required Input<String> archiveTime,
  6. required Input<String> continuousAnalysis,
  7. required Input<String> cpe,
  8. required Input<String> lastScanTime,
  9. required Input<OperationResponse> operation,
  10. 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.

Implementation

const DiscoveredResponse({
  required this.analysisCompleted,
  required this.analysisError,
  required this.analysisStatus,
  required this.analysisStatusError,
  required this.archiveTime,
  required this.continuousAnalysis,
  required this.cpe,
  required this.lastScanTime,
  required this.operation,
  required this.sbomStatus,
});