pub struct OutputConfig {Show 13 fields
pub default_format: OutputFormat,
pub quiet: bool,
pub max_results: Option<u32>,
pub attack_surface_ranking: bool,
pub min_score: Option<u32>,
pub min_confidence: Option<Confidence>,
pub require_converged: bool,
pub include_quality: bool,
pub show_all: bool,
pub max_low: u32,
pub max_low_per_file: u32,
pub max_low_per_rule: u32,
pub rollup_examples: u32,
}Fields§
§default_format: OutputFormatThe default output format.
quiet: boolWhether to print anything to the console or not.
max_results: Option<u32>The maximum number of results to show.
attack_surface_ranking: boolEnable attack-surface ranking to sort findings by exploitability.
min_score: Option<u32>Minimum attack-surface score to include in output.
Findings below this threshold are dropped after ranking.
None means no minimum (all findings shown).
min_confidence: Option<Confidence>Minimum confidence level to include in output.
None means no minimum (all findings shown).
require_converged: boolDrop findings emitted from non-converged analysis.
When true, findings whose engine provenance notes include any
OverReport (widening) or Bail (lowering/parse failure)
direction are filtered out before output. UnderReport
findings, where the result set is a lower bound but each
emitted flow is still real, are kept.
Surfaced via --require-converged; intended for strict CI
gating where a finding from capped analysis is worse than no
finding.
include_quality: boolInclude Quality-category findings (excluded by default).
show_all: boolShow all findings: disables category filtering, rollups, and LOW budgets.
max_low: u32Maximum total LOW findings to show.
max_low_per_file: u32Maximum LOW findings per file.
max_low_per_rule: u32Maximum LOW findings per rule.
rollup_examples: u32Number of example locations to store in rollup findings.
Trait Implementations§
Source§impl Clone for OutputConfig
impl Clone for OutputConfig
Source§fn clone(&self) -> OutputConfig
fn clone(&self) -> OutputConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for OutputConfig
impl Debug for OutputConfig
Source§impl Default for OutputConfig
impl Default for OutputConfig
Source§impl<'de> Deserialize<'de> for OutputConfigwhere
OutputConfig: Default,
impl<'de> Deserialize<'de> for OutputConfigwhere
OutputConfig: Default,
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>,
Auto Trait Implementations§
impl Freeze for OutputConfig
impl RefUnwindSafe for OutputConfig
impl Send for OutputConfig
impl Sync for OutputConfig
impl Unpin for OutputConfig
impl UnsafeUnpin for OutputConfig
impl UnwindSafe for OutputConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
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>
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