pub struct OsvScanner;Expand description
The adapter.
Trait Implementations§
Source§impl Adapter for OsvScanner
impl Adapter for OsvScanner
Source§fn analyzer(&self) -> &'static str
fn analyzer(&self) -> &'static str
The analyzer id — the value that appears in every layer key and finding
key this adapter produces.
Source§fn summary(&self) -> &'static str
fn summary(&self) -> &'static str
A one-line description of what it looks for, for
roteiro security status and --help.Source§fn languages(&self) -> &'static [&'static str]
fn languages(&self) -> &'static [&'static str]
The languages this adapter produces findings for, as the coverage matrix
in ADR-0018 states them. Reported by the CLI so the claim is inspectable
rather than only documented.
Source§fn asset_ids(&self) -> &'static [&'static str]
fn asset_ids(&self) -> &'static [&'static str]
Which pinned assets the analyzer needs before it can run offline (see
crate::assets). An empty slice means it needs none.Source§fn command(&self, assets: &AssetPaths<'_>) -> Invocation
fn command(&self, assets: &AssetPaths<'_>) -> Invocation
The argv that makes the analyzer emit the native format
Adapter::normalize parses, with egress configured off. Read moreSource§fn normalize(
&self,
native: &[u8],
ctx: &NativeContext<'_>,
) -> Result<NormalizedReport, ExecError>
fn normalize( &self, native: &[u8], ctx: &NativeContext<'_>, ) -> Result<NormalizedReport, ExecError>
Parse native output into a normalized report. Read more
Source§impl Clone for OsvScanner
impl Clone for OsvScanner
Source§fn clone(&self) -> OsvScanner
fn clone(&self) -> OsvScanner
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OsvScanner
Auto Trait Implementations§
impl Freeze for OsvScanner
impl RefUnwindSafe for OsvScanner
impl Send for OsvScanner
impl Sync for OsvScanner
impl Unpin for OsvScanner
impl UnsafeUnpin for OsvScanner
impl UnwindSafe for OsvScanner
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