pub struct DiscoveryOccurrence {
pub analysis_completed: Option<AnalysisCompleted>,
pub analysis_error: Option<Vec<Status>>,
pub analysis_status: Option<String>,
pub analysis_status_error: Option<Status>,
pub archive_time: Option<DateTime<Utc>>,
pub continuous_analysis: Option<String>,
pub cpe: Option<String>,
pub files: Option<Vec<File>>,
pub last_scan_time: Option<DateTime<Utc>>,
pub sbom_status: Option<SBOMStatus>,
}Expand description
Provides information about the analysis status of a discovered resource.
This type is not used in any activity, and only used as part of another schema.
Fields§
§analysis_completed: Option<AnalysisCompleted>no description provided
analysis_error: Option<Vec<Status>>Indicates any errors encountered during analysis of a resource. There could be 0 or more of these errors.
analysis_status: Option<String>The status of discovery for the resource.
analysis_status_error: Option<Status>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.
archive_time: Option<DateTime<Utc>>Output only. The time occurrences related to this discovery occurrence were archived.
continuous_analysis: Option<String>Whether the resource is continuously analyzed.
cpe: Option<String>The CPE of the resource being scanned.
files: Option<Vec<File>>Files that make up the resource described by the occurrence.
last_scan_time: Option<DateTime<Utc>>The last time this resource was scanned.
sbom_status: Option<SBOMStatus>The status of an SBOM generation.
Trait Implementations§
Source§impl Clone for DiscoveryOccurrence
impl Clone for DiscoveryOccurrence
Source§fn clone(&self) -> DiscoveryOccurrence
fn clone(&self) -> DiscoveryOccurrence
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more