Enum google_api_proto::google::cloud::securitycenter::v2::finding::FindingClass
source · #[repr(i32)]pub enum FindingClass {
Unspecified = 0,
Threat = 1,
Vulnerability = 2,
Misconfiguration = 3,
Observation = 4,
SccError = 5,
PostureViolation = 6,
ToxicCombination = 7,
}
Expand description
Represents what kind of Finding it is.
Variants§
Unspecified = 0
Unspecified finding class.
Threat = 1
Describes unwanted or malicious activity.
Vulnerability = 2
Describes a potential weakness in software that increases risk to Confidentiality & Integrity & Availability.
Misconfiguration = 3
Describes a potential weakness in cloud resource/asset configuration that increases risk.
Observation = 4
Describes a security observation that is for informational purposes.
SccError = 5
Describes an error that prevents some SCC functionality.
PostureViolation = 6
Describes a potential security risk due to a change in the security posture.
ToxicCombination = 7
Describes a combination of security issues that represent a more severe security problem when taken together.
Implementations§
source§impl FindingClass
impl FindingClass
source§impl FindingClass
impl FindingClass
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
source§impl Clone for FindingClass
impl Clone for FindingClass
source§fn clone(&self) -> FindingClass
fn clone(&self) -> FindingClass
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FindingClass
impl Debug for FindingClass
source§impl Default for FindingClass
impl Default for FindingClass
source§fn default() -> FindingClass
fn default() -> FindingClass
source§impl From<FindingClass> for i32
impl From<FindingClass> for i32
source§fn from(value: FindingClass) -> i32
fn from(value: FindingClass) -> i32
source§impl Hash for FindingClass
impl Hash for FindingClass
source§impl Ord for FindingClass
impl Ord for FindingClass
source§fn cmp(&self, other: &FindingClass) -> Ordering
fn cmp(&self, other: &FindingClass) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for FindingClass
impl PartialEq for FindingClass
source§fn eq(&self, other: &FindingClass) -> bool
fn eq(&self, other: &FindingClass) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for FindingClass
impl PartialOrd for FindingClass
source§fn partial_cmp(&self, other: &FindingClass) -> Option<Ordering>
fn partial_cmp(&self, other: &FindingClass) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for FindingClass
impl TryFrom<i32> for FindingClass
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
source§fn try_from(value: i32) -> Result<FindingClass, UnknownEnumValue>
fn try_from(value: i32) -> Result<FindingClass, UnknownEnumValue>
impl Copy for FindingClass
impl Eq for FindingClass
impl StructuralPartialEq for FindingClass
Auto Trait Implementations§
impl Freeze for FindingClass
impl RefUnwindSafe for FindingClass
impl Send for FindingClass
impl Sync for FindingClass
impl Unpin for FindingClass
impl UnwindSafe for FindingClass
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request