pub struct Report {
pub schema_version: u32,
pub server_name: String,
pub server_version: String,
pub findings: Vec<Finding>,
pub tools: Vec<ToolReport>,
pub summary: Summary,
}Fields§
§schema_version: u32§server_name: String§server_version: String§findings: Vec<Finding>§tools: Vec<ToolReport>§summary: SummaryImplementations§
Source§impl Report
impl Report
Sourcepub fn build_security(manifest: &Manifest) -> Self
pub fn build_security(manifest: &Manifest) -> Self
Build the security-only report (parser + rules + RIS). The hot path
that meets the <10ms latency target.
Sourcepub fn build_full(manifest: &Manifest) -> Self
pub fn build_full(manifest: &Manifest) -> Self
Build the full report including the optimization pass with the default heuristic optimizer.
Sourcepub fn build_full_with<O: DescriptionOptimizer>(
manifest: &Manifest,
opt: &O,
) -> Self
pub fn build_full_with<O: DescriptionOptimizer>( manifest: &Manifest, opt: &O, ) -> Self
Build a full report using a caller-supplied optimizer (e.g. an LLM-backed
implementation of DescriptionOptimizer).
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
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