[−][src]Enum cvss::v3::base::pr::PrivilegesRequired
Privileges Required (PR) - CVSS v3.1 Base Metric Group
Described in CVSS v3.1 Specification: Section 2.1.3: https://www.first.org/cvss/specification-document#t6
This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability. The Base Score is greatest if no privileges are required.
Variants
High
High (H)
The attacker requires privileges that provide significant (e.g., administrative) control over the vulnerable component allowing access to component-wide settings and files.
Low
Low (L)
The attacker requires privileges that provide basic user capabilities that could normally affect only settings and files owned by a user. Alternatively, an attacker with Low privileges has the ability to access only non-sensitive resources.
None
None (N)
The attacker is unauthorized prior to attack, and therefore does not require any access to settings or files of the the vulnerable system to carry out an attack.
Methods
impl PrivilegesRequired
[src]
pub fn scoped_score(self, scope_change: bool) -> f64
[src]
Score when accounting for scope change
Trait Implementations
impl Metric for PrivilegesRequired
[src]
impl Eq for PrivilegesRequired
[src]
impl Clone for PrivilegesRequired
[src]
fn clone(&self) -> PrivilegesRequired
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialOrd<PrivilegesRequired> for PrivilegesRequired
[src]
fn partial_cmp(&self, other: &PrivilegesRequired) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl Ord for PrivilegesRequired
[src]
fn cmp(&self, other: &PrivilegesRequired) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
1.21.0[src]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<PrivilegesRequired> for PrivilegesRequired
[src]
fn eq(&self, other: &PrivilegesRequired) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl Copy for PrivilegesRequired
[src]
impl Display for PrivilegesRequired
[src]
impl Debug for PrivilegesRequired
[src]
impl FromStr for PrivilegesRequired
[src]
Auto Trait Implementations
impl Unpin for PrivilegesRequired
impl Sync for PrivilegesRequired
impl Send for PrivilegesRequired
impl UnwindSafe for PrivilegesRequired
impl RefUnwindSafe for PrivilegesRequired
Blanket Implementations
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,