pub struct ScanRecord {Show 23 fields
pub target: String,
pub tool: String,
pub title: String,
pub severity: String,
pub port: Option<u16>,
pub cve: Option<String>,
pub service: Option<String>,
pub raw: Value,
pub affected_endpoints: Vec<String>,
pub detail: String,
pub reference: String,
pub cves: Vec<String>,
pub normalized_title: String,
pub raw_findings: Vec<String>,
pub merged_count: usize,
pub nvd_description: Option<String>,
pub nvd_cvss_v3: Option<f32>,
pub nvd_cvss_v3_severity: Option<String>,
pub nvd_cvss_v2: Option<f32>,
pub nvd_published: Option<String>,
pub nvd_last_modified: Option<String>,
pub nvd_weaknesses: Vec<String>,
pub nvd_references: Vec<String>,
}Fields§
§target: String§tool: String§title: String§severity: String§port: Option<u16>§cve: Option<String>§service: Option<String>§raw: Value§affected_endpoints: Vec<String>§detail: StringOriginal finding description (never discarded, used for traceability).
reference: StringOriginal finding reference link (never discarded).
cves: Vec<String>Every CVE id discovered in title/detail/reference/raw (deduplicated).
normalized_title: StringNormalized representation used for deduplication.
raw_findings: Vec<String>Original raw finding titles merged into this record (traceability).
merged_count: usizeNumber of scanner findings merged into this record (1 = unique).
nvd_description: Option<String>§nvd_cvss_v3: Option<f32>§nvd_cvss_v3_severity: Option<String>§nvd_cvss_v2: Option<f32>§nvd_published: Option<String>§nvd_last_modified: Option<String>§nvd_weaknesses: Vec<String>§nvd_references: Vec<String>Trait Implementations§
Source§impl Clone for ScanRecord
impl Clone for ScanRecord
Source§impl Debug for ScanRecord
impl Debug for ScanRecord
Source§impl Default for ScanRecord
impl Default for ScanRecord
Source§impl<'de> Deserialize<'de> for ScanRecord
impl<'de> Deserialize<'de> for ScanRecord
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
Auto Trait Implementations§
impl Freeze for ScanRecord
impl RefUnwindSafe for ScanRecord
impl Send for ScanRecord
impl Sync for ScanRecord
impl Unpin for ScanRecord
impl UnsafeUnpin for ScanRecord
impl UnwindSafe for ScanRecord
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
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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> ⓘ
Converts
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> ⓘ
Converts
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