pub struct CVSS {
    pub attack_complexity: Option<String>,
    pub attack_vector: Option<String>,
    pub authentication: Option<String>,
    pub availability_impact: Option<String>,
    pub base_score: Option<f32>,
    pub confidentiality_impact: Option<String>,
    pub exploitability_score: Option<f32>,
    pub impact_score: Option<f32>,
    pub integrity_impact: Option<String>,
    pub privileges_required: Option<String>,
    pub scope: Option<String>,
    pub user_interaction: Option<String>,
}
Expand description

Common Vulnerability Scoring System. For details, see https://www.first.org/cvss/specification-document This is a message we will try to use for storing multiple versions of CVSS. The intention is that as new versions of CVSS scores get added, we will be able to modify this message rather than adding new protos for each new version of the score.

This type is not used in any activity, and only used as part of another schema.

Fields

attack_complexity: Option<String>

no description provided

attack_vector: Option<String>

Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments.

authentication: Option<String>

no description provided

availability_impact: Option<String>

no description provided

base_score: Option<f32>

The base score is a function of the base metric scores.

confidentiality_impact: Option<String>

no description provided

exploitability_score: Option<f32>

no description provided

impact_score: Option<f32>

no description provided

integrity_impact: Option<String>

no description provided

privileges_required: Option<String>

no description provided

scope: Option<String>

no description provided

user_interaction: Option<String>

no description provided

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more