pub struct PluginIpcFinding {
pub title: String,
pub description: String,
pub severity: String,
pub file: Option<String>,
pub line: Option<usize>,
pub column: Option<usize>,
pub code_snippet: Option<String>,
pub recommendation: Option<String>,
pub category: Option<String>,
pub blocks_deployment: bool,
pub references: Vec<String>,
}Expand description
A finding as reported by an external plugin.
Fields§
§title: StringHuman-readable title.
description: StringDetailed description.
severity: StringSeverity: “critical”, “high”, “medium”, “low”, “informational”
file: Option<String>File path (relative to project root).
line: Option<usize>Line number.
column: Option<usize>Column number.
code_snippet: Option<String>Code snippet.
recommendation: Option<String>Recommended remediation.
category: Option<String>Category of vulnerability.
blocks_deployment: boolWhether this finding blocks deployment.
references: Vec<String>Additional references (CVE IDs, links, etc.).
Trait Implementations§
Source§impl Clone for PluginIpcFinding
impl Clone for PluginIpcFinding
Source§fn clone(&self) -> PluginIpcFinding
fn clone(&self) -> PluginIpcFinding
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 moreSource§impl Debug for PluginIpcFinding
impl Debug for PluginIpcFinding
Source§impl<'de> Deserialize<'de> for PluginIpcFinding
impl<'de> Deserialize<'de> for PluginIpcFinding
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<PluginIpcFinding> for Finding
impl From<PluginIpcFinding> for Finding
Source§fn from(f: PluginIpcFinding) -> Self
fn from(f: PluginIpcFinding) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PluginIpcFinding
impl RefUnwindSafe for PluginIpcFinding
impl Send for PluginIpcFinding
impl Sync for PluginIpcFinding
impl Unpin for PluginIpcFinding
impl UnsafeUnpin for PluginIpcFinding
impl UnwindSafe for PluginIpcFinding
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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