pub struct EpssSource { /* private fields */ }Expand description
EPSS data source.
Provides exploit probability scores for CVEs. These scores help prioritize vulnerabilities based on likelihood of exploitation.
Implementations§
Source§impl EpssSource
impl EpssSource
Sourcepub async fn fetch_score(&self, cve_id: &str) -> Result<Option<EpssScore>>
pub async fn fetch_score(&self, cve_id: &str) -> Result<Option<EpssScore>>
Fetch a single CVE’s EPSS score.
Sourcepub async fn fetch_high_risk(
&self,
min_epss: f64,
limit: Option<u32>,
) -> Result<Vec<EpssScore>>
pub async fn fetch_high_risk( &self, min_epss: f64, limit: Option<u32>, ) -> Result<Vec<EpssScore>>
Fetch all CVEs with EPSS score above a threshold.
§Arguments
min_epss- Minimum EPSS probability (0.0 - 1.0)limit- Maximum number of results (default: 100)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EpssSource
impl !RefUnwindSafe for EpssSource
impl Send for EpssSource
impl Sync for EpssSource
impl Unpin for EpssSource
impl !UnwindSafe for EpssSource
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