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>>,
pub sbom_status: Option<SBOMStatus>,
pub vulnerability_attestation: Option<VulnerabilityAttestation>,
}
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.
sbom_status: Option<SBOMStatus>
The status of an SBOM generation.
vulnerability_attestation: Option<VulnerabilityAttestation>
The status of an vulnerability attestation 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 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
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>,
Source§impl Serialize for DiscoveryOccurrence
impl Serialize for DiscoveryOccurrence
impl Part for DiscoveryOccurrence
Auto Trait Implementations§
impl Freeze for DiscoveryOccurrence
impl RefUnwindSafe for DiscoveryOccurrence
impl Send for DiscoveryOccurrence
impl Sync for DiscoveryOccurrence
impl Unpin for DiscoveryOccurrence
impl UnwindSafe for DiscoveryOccurrence
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more