[][src]Trait cvssrust::CVSSScore

pub trait CVSSScore {
    fn base_score(&self) -> Score;
fn temporal_score(&self) -> Score;
fn environmental_score(&self) -> Score;
fn impact_score(&self) -> Score;
fn expoitability_score(&self) -> Score; }

CVSS Score implementation: Base/Temporal/Environmental

Required methods

fn base_score(&self) -> Score

Calculate CVSS Base Score

fn temporal_score(&self) -> Score

Calculate CVSS Temporal Score

fn environmental_score(&self) -> Score

Calculate CVSS Environmental Score

fn impact_score(&self) -> Score

Calculate Impact Sub Score

fn expoitability_score(&self) -> Score

Calculate Exploitability Score

Loading content...

Implementors

impl CVSSScore for V2Vector[src]

fn temporal_score(&self) -> Score[src]

TemporalScore = round_to_1_decimal(BaseScore*Exploitability RemediationLevelReportConfidence)

fn environmental_score(&self) -> Score[src]

round_to_1_decimal((AdjustedTemporal+ (10-AdjustedTemporal)*CollateralDamagePotential)*TargetDistribution)

impl CVSSScore for V3Vector[src]

fn temporal_score(&self) -> Score[src]

TemporalScore = Roundup ( BaseScore × ExploitCodeMaturity × RemediationLevel × ReportConfidence)

Loading content...