pub struct Report {
pub schema_version: u32,
pub findings: Vec<Finding>,
pub warnings: Vec<String>,
pub summary: Summary,
pub ignored: Vec<IgnoredItem>,
pub context: ReportContext,
}Expand description
Scan output. crate::report::render_json turns this into PRD §8.
Fields§
§schema_version: u32Report schema generation.
findings: Vec<Finding>Findings, in the order the scan produced them.
warnings: Vec<String>Warnings collected from parsers and the scan.
summary: SummaryCounts after ignore rules are applied.
ignored: Vec<IgnoredItem>Findings dropped by ignore.
context: ReportContextHeader fields the JSON document needs. Defaults keep older fixtures small.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Report
impl<'de> Deserialize<'de> for Report
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
impl StructuralPartialEq for Report
Auto Trait Implementations§
impl Freeze for Report
impl RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnsafeUnpin for Report
impl UnwindSafe for Report
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