DiscoveryOccurrenceResponse constructor
const
DiscoveryOccurrenceResponse({
- required Input<
AnalysisCompletedResponse> analysisCompleted, - required Input<
List< analysisError,StatusResponse> > - required Input<
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.
analysisCompleted Required.
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 is 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.
sbomStatus The status of an SBOM generation.
Implementation
const DiscoveryOccurrenceResponse({
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.sbomStatus,
});