pub struct Step {
pub from: String,
pub from_sid: String,
pub edge: &'static str,
pub to: String,
pub to_sid: String,
pub impact: &'static str,
pub mitigation: &'static str,
pub command: Option<String>,
}Expand description
One hop of an attack path, with everything a report needs about it: what it is, what it buys the attacker, the command that walks it, and how a defender removes it.
Fields§
§from: String§from_sid: String§edge: &'static strEdge label, e.g. AddKeyCredential.
to: String§to_sid: String§impact: &'static str§mitigation: &'static str§command: Option<String>The adhammer invocation for this hop, or None when the tool can find the edge but
cannot yet walk it.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Step
impl RefUnwindSafe for Step
impl Send for Step
impl Sync for Step
impl Unpin for Step
impl UnsafeUnpin for Step
impl UnwindSafe for Step
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