#[non_exhaustive]pub struct CisBenchmarkResult {
pub desc: Option<String>,
pub name: Option<String>,
pub remediation: Option<Box<Remediation>>,
pub rule: Option<Box<Rule>>,
}๐Deprecated: Use the Compliance object with Checks object instead. (Since 1.5.0)
Expand description
CIS Benchmark Result
The CIS Benchmark Result object contains information as defined by the Center for Internet Security (CIS) benchmark result. CIS Benchmarks are a collection of best practices for securely configuring IT systems, software, networks, and cloud infrastructure.
[] Category: | Name: cis_benchmark_result
Fields (Non-exhaustive)ยง
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.desc: Option<String>๐Deprecated: Use the Compliance object with Checks object instead. (Since 1.5.0)
Description
The CIS benchmark description.
optional
name: Option<String>๐Deprecated: Use the Compliance object with Checks object instead. (Since 1.5.0)
Name
The CIS benchmark name.
required
remediation: Option<Box<Remediation>>๐Deprecated: Use the Compliance object with Checks object instead. (Since 1.5.0)
Remediation Guidance
Describes the recommended remediation steps to address identified issue(s).
optional
rule: Option<Box<Rule>>๐Deprecated: Use the Compliance object with Checks object instead. (Since 1.5.0)
Rule
The CIS benchmark rule.
optional
Trait Implementationsยง
Sourceยงimpl Clone for CisBenchmarkResult
impl Clone for CisBenchmarkResult
Sourceยงfn clone(&self) -> CisBenchmarkResult
fn clone(&self) -> CisBenchmarkResult
Returns a duplicate of the value. Read more
1.0.0 ยท Sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSourceยงimpl Debug for CisBenchmarkResult
impl Debug for CisBenchmarkResult
Sourceยงimpl Default for CisBenchmarkResult
impl Default for CisBenchmarkResult
Sourceยงfn default() -> CisBenchmarkResult
fn default() -> CisBenchmarkResult
Returns the โdefault valueโ for a type. Read more
Sourceยงimpl<'de> Deserialize<'de> for CisBenchmarkResultwhere
CisBenchmarkResult: Default,
impl<'de> Deserialize<'de> for CisBenchmarkResultwhere
CisBenchmarkResult: Default,
Sourceยงfn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Sourceยงimpl PartialEq for CisBenchmarkResult
impl PartialEq for CisBenchmarkResult
Sourceยงimpl Serialize for CisBenchmarkResult
impl Serialize for CisBenchmarkResult
impl StructuralPartialEq for CisBenchmarkResult
Auto Trait Implementationsยง
impl Freeze for CisBenchmarkResult
impl RefUnwindSafe for CisBenchmarkResult
impl Send for CisBenchmarkResult
impl Sync for CisBenchmarkResult
impl Unpin for CisBenchmarkResult
impl UnwindSafe for CisBenchmarkResult
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
Mutably borrows from an owned value. Read more