#[non_exhaustive]pub struct ToxicCombination {
pub attack_exposure_score: f64,
pub related_findings: Vec<String>,
/* private fields */
}Expand description
Contains details about a group of security issues that, when the issues occur together, represent a greater risk than when the issues occur independently. A group of such issues is referred to as a toxic combination.
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.attack_exposure_score: f64The Attack exposure score of this toxic combination. The score is a measure of how much this toxic combination exposes one or more high-value resources to potential attack.
List of resource names of findings associated with this toxic combination.
For example, organizations/123/sources/456/findings/789.
Implementations§
Source§impl ToxicCombination
impl ToxicCombination
pub fn new() -> Self
Sourcepub fn set_attack_exposure_score<T: Into<f64>>(self, v: T) -> Self
pub fn set_attack_exposure_score<T: Into<f64>>(self, v: T) -> Self
Sets the value of attack_exposure_score.
§Example
ⓘ
let x = ToxicCombination::new().set_attack_exposure_score(42.0);Sets the value of related_findings.
§Example
ⓘ
let x = ToxicCombination::new().set_related_findings(["a", "b", "c"]);Trait Implementations§
Source§impl Clone for ToxicCombination
impl Clone for ToxicCombination
Source§fn clone(&self) -> ToxicCombination
fn clone(&self) -> ToxicCombination
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 ToxicCombination
impl Debug for ToxicCombination
Source§impl Default for ToxicCombination
impl Default for ToxicCombination
Source§fn default() -> ToxicCombination
fn default() -> ToxicCombination
Returns the “default value” for a type. Read more
Source§impl Message for ToxicCombination
impl Message for ToxicCombination
Source§impl PartialEq for ToxicCombination
impl PartialEq for ToxicCombination
impl StructuralPartialEq for ToxicCombination
Auto Trait Implementations§
impl Freeze for ToxicCombination
impl RefUnwindSafe for ToxicCombination
impl Send for ToxicCombination
impl Sync for ToxicCombination
impl Unpin for ToxicCombination
impl UnwindSafe for ToxicCombination
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