1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30


cvss_component!(Exploitability {
    Unproven => U,
    ProofOfConcept => POC,
    Functional => F,
    High => H,
    NotDefined => ND,
});

cvss_component!(RemediationLevel {
    OfficialFix => OF,
    TemporaryFix => TF,
    Workaround => W,
    Unavailable => U,
    NotDefined => ND,
});

cvss_component!(ReportConfidence {
    Unconfirmed => UC,
    Uncorroborated => UR,
    Confirmed => C,
    NotDefined => ND,
});

cvss_score!(TemporalMetric {
    exploitability: Exploitability => E,
    remediation_level: RemediationLevel => RL,
    report_confidence: ReportConfidence => RC,
});