DiscoveryOccurrence constructor

const DiscoveryOccurrence({
  1. Input<AnalysisCompleted>? analysisCompleted,
  2. Input<List<Status>>? analysisError,
  3. Input<DiscoveryOccurrenceAnalysisStatus>? analysisStatus,
  4. Input<Status>? analysisStatusError,
  5. Input<DiscoveryOccurrenceContinuousAnalysis>? continuousAnalysis,
  6. Input<String>? cpe,
  7. Input<String>? lastScanTime,
  8. Input<SBOMStatus>? sbomStatus,
})

Creates a new DiscoveryOccurrence. analysisCompleted Optional. 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. 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 DiscoveryOccurrence({
  this.analysisCompleted,
  this.analysisError,
  this.analysisStatus,
  this.analysisStatusError,
  this.continuousAnalysis,
  this.cpe,
  this.lastScanTime,
  this.sbomStatus,
});