pub struct BashSecurityAnalysis {
pub command_name: Option<String>,
pub arguments: Vec<String>,
pub verdict: BashVerdict,
pub warnings: Vec<BashWarning>,
pub analysis_time_ms: u64,
pub node_count: usize,
}Expand description
Security analysis result for a Bash command.
Fields§
§command_name: Option<String>The extracted command name (argv[0]) after wrapper stripping.
arguments: Vec<String>Extracted arguments after wrapper stripping.
verdict: BashVerdictOverall verdict.
warnings: Vec<BashWarning>Specific warnings detected.
analysis_time_ms: u64Time spent on analysis.
node_count: usizeNumber of AST nodes traversed.
Implementations§
Trait Implementations§
Source§impl Clone for BashSecurityAnalysis
impl Clone for BashSecurityAnalysis
Source§fn clone(&self) -> BashSecurityAnalysis
fn clone(&self) -> BashSecurityAnalysis
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 BashSecurityAnalysis
impl RefUnwindSafe for BashSecurityAnalysis
impl Send for BashSecurityAnalysis
impl Sync for BashSecurityAnalysis
impl Unpin for BashSecurityAnalysis
impl UnsafeUnpin for BashSecurityAnalysis
impl UnwindSafe for BashSecurityAnalysis
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