AnalysisGateSettings
Settings that control CI gating behavior for static analysis.
Inheritance
- Object
- AnalysisGateSettings
Constructors
public AnalysisGateSettings() #Inherited Methods
Properties
public Boolean Enabled { get; set; } #Enables the analysis gate. When enabled, intelligencex analyze gate can fail CI deterministically.
public String MinSeverity { get; set; } #Minimum severity to consider for gate evaluation. Defaults to warning.
public IReadOnlyList<String> Types { get; set; } #Optional list of rule types to gate on (e.g. bug, vulnerability). When empty, all types are considered.
public IReadOnlyList<String> RuleIds { get; set; } #Optional list of explicit rule IDs to gate on. When set together with Types, a finding is in-scope when it matches either filter.
public Boolean IncludeOutsidePackRules { get; set; } #When true, findings for rules outside the enabled packs can fail the gate (useful to detect untracked tool rules).
public Boolean FailOnNoEnabledRules { get; set; } #When true (default), fail when no rules are enabled (for example packs missing or empty).
public Boolean FailOnHotspotsToReview { get; set; } #When true, fail the gate if any in-scope security hotspot has state to-review.
public Boolean NewIssuesOnly { get; set; } #When true, the gate evaluates only findings that are not present in the configured baseline.
public String BaselinePath { get; set; } #Relative or absolute path to the findings baseline used when NewIssuesOnly is enabled.
public AnalysisGateDuplicationSettings Duplication { get; } #Duplication-specific gate settings.