pub struct CloudScanner;Expand description
Cloud storage asset scanner — discovers open buckets and containers.
Trait Implementations§
Source§impl Scanner for CloudScanner
impl Scanner for CloudScanner
Source§fn name(&self) -> &'static str
fn name(&self) -> &'static str
Stable scanner name used in logs, configuration, and output metadata.
Scanner capability tags used for module selection and reporting.
Source§fn accepts(&self, target: &Target) -> bool
fn accepts(&self, target: &Target) -> bool
Return true when this scanner can process the supplied target.
Source§fn run<'life0, 'life1, 'async_trait>(
&'life0 self,
input: ScanInput,
config: &'life1 Config,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn run<'life0, 'life1, 'async_trait>(
&'life0 self,
input: ScanInput,
config: &'life1 Config,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Execute the scan as a pure streaming node in the DAG.
Findings and Targets MUST be emitted via
input.emit() and input.emit_target().Auto Trait Implementations§
impl Freeze for CloudScanner
impl RefUnwindSafe for CloudScanner
impl Send for CloudScanner
impl Sync for CloudScanner
impl Unpin for CloudScanner
impl UnsafeUnpin for CloudScanner
impl UnwindSafe for CloudScanner
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