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 last_scan_time: Option<DateTime<Utc>>,
}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.
last_scan_time: Option<DateTime<Utc>>The last time this resource was scanned.
Trait Implementations§
source§impl Clone for DiscoveryOccurrence
impl Clone for DiscoveryOccurrence
source§fn clone(&self) -> DiscoveryOccurrence
fn clone(&self) -> DiscoveryOccurrence
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for DiscoveryOccurrence
impl Debug for DiscoveryOccurrence
source§impl Default for DiscoveryOccurrence
impl Default for DiscoveryOccurrence
source§fn default() -> DiscoveryOccurrence
fn default() -> DiscoveryOccurrence
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DiscoveryOccurrence
impl<'de> Deserialize<'de> for DiscoveryOccurrence
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more