public static enum Cvssv3.PrivilegesRequired extends Enum<Cvssv3.PrivilegesRequired> implements ProtocolMessageEnum
This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.Protobuf enum
google.cloud.securitycenter.v1.Cvssv3.PrivilegesRequired
Enum Constant and Description |
---|
PRIVILEGES_REQUIRED_HIGH
The attacker requires privileges that provide significant (e.g.,
administrative) control over the vulnerable component allowing access to
component-wide settings and files.
|
PRIVILEGES_REQUIRED_LOW
The attacker requires privileges that provide basic user capabilities
that could normally affect only settings and files owned by a user.
|
PRIVILEGES_REQUIRED_NONE
The attacker is unauthorized prior to attack, and therefore does not
require any access to settings or files of the vulnerable system to
carry out an attack.
|
PRIVILEGES_REQUIRED_UNSPECIFIED
Invalid value.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
PRIVILEGES_REQUIRED_HIGH_VALUE
The attacker requires privileges that provide significant (e.g.,
administrative) control over the vulnerable component allowing access to
component-wide settings and files.
|
static int |
PRIVILEGES_REQUIRED_LOW_VALUE
The attacker requires privileges that provide basic user capabilities
that could normally affect only settings and files owned by a user.
|
static int |
PRIVILEGES_REQUIRED_NONE_VALUE
The attacker is unauthorized prior to attack, and therefore does not
require any access to settings or files of the vulnerable system to
carry out an attack.
|
static int |
PRIVILEGES_REQUIRED_UNSPECIFIED_VALUE
Invalid value.
|
Modifier and Type | Method and Description |
---|---|
static Cvssv3.PrivilegesRequired |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<Cvssv3.PrivilegesRequired> |
internalGetValueMap() |
static Cvssv3.PrivilegesRequired |
valueOf(Descriptors.EnumValueDescriptor desc) |
static Cvssv3.PrivilegesRequired |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Cvssv3.PrivilegesRequired |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Cvssv3.PrivilegesRequired[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Cvssv3.PrivilegesRequired PRIVILEGES_REQUIRED_UNSPECIFIED
Invalid value.
PRIVILEGES_REQUIRED_UNSPECIFIED = 0;
public static final Cvssv3.PrivilegesRequired PRIVILEGES_REQUIRED_NONE
The attacker is unauthorized prior to attack, and therefore does not require any access to settings or files of the vulnerable system to carry out an attack.
PRIVILEGES_REQUIRED_NONE = 1;
public static final Cvssv3.PrivilegesRequired PRIVILEGES_REQUIRED_LOW
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.
PRIVILEGES_REQUIRED_LOW = 2;
public static final Cvssv3.PrivilegesRequired PRIVILEGES_REQUIRED_HIGH
The attacker requires privileges that provide significant (e.g., administrative) control over the vulnerable component allowing access to component-wide settings and files.
PRIVILEGES_REQUIRED_HIGH = 3;
public static final Cvssv3.PrivilegesRequired UNRECOGNIZED
public static final int PRIVILEGES_REQUIRED_UNSPECIFIED_VALUE
Invalid value.
PRIVILEGES_REQUIRED_UNSPECIFIED = 0;
public static final int PRIVILEGES_REQUIRED_NONE_VALUE
The attacker is unauthorized prior to attack, and therefore does not require any access to settings or files of the vulnerable system to carry out an attack.
PRIVILEGES_REQUIRED_NONE = 1;
public static final int PRIVILEGES_REQUIRED_LOW_VALUE
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.
PRIVILEGES_REQUIRED_LOW = 2;
public static final int PRIVILEGES_REQUIRED_HIGH_VALUE
The attacker requires privileges that provide significant (e.g., administrative) control over the vulnerable component allowing access to component-wide settings and files.
PRIVILEGES_REQUIRED_HIGH = 3;
public static Cvssv3.PrivilegesRequired[] values()
for (Cvssv3.PrivilegesRequired c : Cvssv3.PrivilegesRequired.values()) System.out.println(c);
public static Cvssv3.PrivilegesRequired valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static Cvssv3.PrivilegesRequired valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static Cvssv3.PrivilegesRequired forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<Cvssv3.PrivilegesRequired> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static Cvssv3.PrivilegesRequired valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.