pub struct LegacyFinding {
pub file: String,
pub line: u32,
pub issue_type: String,
pub severity: u32,
pub message: String,
pub cwe_id: u32,
pub details_link: Option<String>,
pub issue_id: Option<String>,
pub owasp_category: Option<String>,
pub sans_category: Option<String>,
}
Expand description
Legacy Finding struct for backwards compatibility Converts from the new Finding format to a simpler structure
Fields§
§file: String
File path where the issue was found
line: u32
Line number in the file
issue_type: String
Type of security issue
severity: u32
Severity level (0-5)
message: String
Descriptive message about the issue (HTML stripped)
cwe_id: u32
CWE (Common Weakness Enumeration) ID
details_link: Option<String>
Optional link to more details
issue_id: Option<String>
Issue ID for tracking
owasp_category: Option<String>
OWASP category if applicable
sans_category: Option<String>
SANS category if applicable
Trait Implementations§
Source§impl Clone for LegacyFinding
impl Clone for LegacyFinding
Source§fn clone(&self) -> LegacyFinding
fn clone(&self) -> LegacyFinding
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 moreSource§impl Debug for LegacyFinding
impl Debug for LegacyFinding
Source§impl<'de> Deserialize<'de> for LegacyFinding
impl<'de> Deserialize<'de> for LegacyFinding
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
Auto Trait Implementations§
impl Freeze for LegacyFinding
impl RefUnwindSafe for LegacyFinding
impl Send for LegacyFinding
impl Sync for LegacyFinding
impl Unpin for LegacyFinding
impl UnwindSafe for LegacyFinding
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