RiskRanking-FileCriticality¶
Impact of a finding, as declared for the files it is reported in
Required inputs: IR
Adding this rule to the list of active RiskRanking actions creates a rank factor column in the Dashboard. The name of the list entry is shown as the column name.
Possible Messages
This rule has no predefined messages.
Options¶
The following places define options that affect this rule: Analysis-GlobalOptions
criticality¶
criticality : dict[bauhaus.analysis.config.FileGlobPattern, float] = {}
excludes options.
The most specific matching pattern decides, so a catch-all such as
{'**': 0.2, 'src/crypto/**': 1.0} states that only the cryptography
sources are critical. An issue relating two places in the code, such as a clone
pair or a cycle, is as critical as the most critical file it involves.
show_by_default¶
show_by_default : bool = False
unmatched_criticality¶
unmatched_criticality : float | None = 0.5