pub struct AttackPath {
pub path: Vec<String>,
pub entry_point: String,
pub target: String,
pub depth: usize,
pub risk_score: u8,
}Expand description
An attack path from an entry point to a vulnerable component
Fields§
§path: Vec<String>The path of component names from entry point to target
entry_point: StringThe entry point (root component)
target: StringThe vulnerable component (target)
depth: usizePath length (number of hops)
risk_score: u8Risk score based on path characteristics
Implementations§
Source§impl AttackPath
impl AttackPath
Trait Implementations§
Source§impl Clone for AttackPath
impl Clone for AttackPath
Source§fn clone(&self) -> AttackPath
fn clone(&self) -> AttackPath
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 moreAuto Trait Implementations§
impl Freeze for AttackPath
impl RefUnwindSafe for AttackPath
impl Send for AttackPath
impl Sync for AttackPath
impl Unpin for AttackPath
impl UnsafeUnpin for AttackPath
impl UnwindSafe for AttackPath
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more