pub struct CheckMetadata {Show 15 fields
pub name: Option<String>,
pub description: Option<String>,
pub impact: Option<String>,
pub severity: Option<Severity>,
pub author: Option<String>,
pub report_title: Option<String>,
pub cve: Vec<String>,
pub cwe: Vec<String>,
pub references: Vec<String>,
pub cvss: Vec<String>,
pub cvss_score: Vec<String>,
pub mitigation: Option<String>,
pub tags: Vec<String>,
pub version: Option<String>,
pub family: Option<String>,
}Fields§
§name: Option<String>§description: Option<String>§impact: Option<String>§severity: Option<Severity>§report_title: Option<String>§cve: Vec<String>§cwe: Vec<String>§references: Vec<String>§cvss: Vec<String>§cvss_score: Vec<String>§mitigation: Option<String>Single free-text remediation note. The language rejects more than one
mitigation line per script at compile time (unlike cve/cwe/
references/tags, which accumulate into lists).
version: Option<String>§family: Option<String>Single curated category (e.g. web, network, database).
Distinct from tags: one-per-script, used for “scan everything
in this family” selection. The allowed set is enforced by the
registry at publish time, not here.
Trait Implementations§
Source§impl Clone for CheckMetadata
impl Clone for CheckMetadata
Source§fn clone(&self) -> CheckMetadata
fn clone(&self) -> CheckMetadata
Returns a duplicate 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 CheckMetadata
impl Debug for CheckMetadata
Source§impl Default for CheckMetadata
impl Default for CheckMetadata
Source§fn default() -> CheckMetadata
fn default() -> CheckMetadata
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CheckMetadata
impl RefUnwindSafe for CheckMetadata
impl Send for CheckMetadata
impl Sync for CheckMetadata
impl Unpin for CheckMetadata
impl UnsafeUnpin for CheckMetadata
impl UnwindSafe for CheckMetadata
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