#[non_exhaustive]pub struct Advisory {Show 20 fields
pub avg_timespan: Option<Box<Timespan>>,
pub bulletin: Option<String>,
pub classification: Option<String>,
pub created_time: Option<i64>,
pub created_time_dt: Option<String>,
pub desc: Option<String>,
pub install_state: Option<String>,
pub install_state_id: Option<i64>,
pub is_superseded: Option<bool>,
pub modified_time: Option<i64>,
pub modified_time_dt: Option<String>,
pub os: Option<Box<Os>>,
pub product: Option<Box<Product>>,
pub references: Option<Vec<String>>,
pub related_cves: Option<Vec<Cve>>,
pub related_cwes: Option<Vec<Cwe>>,
pub size: Option<i64>,
pub src_url: Option<String>,
pub title: Option<String>,
pub uid: Option<String>,
}Expand description
Advisory
The Advisory object represents publicly disclosed cybersecurity vulnerabilities defined in a Security advisory. e.g. Microsoft KB Article, Apple Security Advisory, or a GitHub Security Advisory (GHSA)
[] Category: | Name: advisory
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.avg_timespan: Option<Box<Timespan>>Average Timespan
The average time to patch.
optional
bulletin: Option<String>Patch Bulletin
The Advisory bulletin identifier.
optional
classification: Option<String>Classification
The vendors classification of the Advisory.
optional
created_time: Option<i64>Created Time
The time when the Advisory record was created.
recommended
created_time_dt: Option<String>Created Time
The time when the Advisory record was created.
optional
desc: Option<String>Description
A brief description of the Advisory Record.
optional
install_state: Option<String>Install State
The install state of the Advisory.
recommended
install_state_id: Option<i64>Install State ID
The normalized install state ID of the Advisory.
recommended
is_superseded: Option<bool>The patch is superseded.
The Advisory has been replaced by another.
optional
modified_time: Option<i64>Modified Time
The time when the Advisory record was last updated.
optional
modified_time_dt: Option<String>Modified Time
The time when the Advisory record was last updated.
optional
os: Option<Box<Os>>OS
The operating system the Advisory applies to.
recommended
product: Option<Box<Product>>Product
The product where the vulnerability was discovered.
optional
references: Option<Vec<String>>References
A list of reference URLs with additional information about the vulnerabilities disclosed in the Advisory.
recommended
Related CVEs
A list of Common Vulnerabilities and Exposures (CVE) identifiers related to the vulnerabilities disclosed in the Advisory.
optional
Related CWEs
A list of Common Weakness Enumeration (CWE) identifiers related to the vulnerabilities disclosed in the Advisory.
optional
size: Option<i64>Size
The size in bytes for the Advisory. Usually populated for a KB Article patch.
optional
src_url: Option<String>Source URL
The Advisory link from the source vendor.
optional
title: Option<String>Title
A title or a brief phrase summarizing the Advisory.
recommended
uid: Option<String>Advisory ID
The unique identifier assigned to the advisory or disclosed vulnerability, e.g, GHSA-5mrr-rgp6-x4gr.
required