IntelligenceX
Class

AnalysisGateSettings

IntelligenceX.Analysis

Namespace
IntelligenceX.Analysis
Assembly
IntelligenceX
Modifiers
sealed

Settings that control CI gating behavior for static analysis.

Inheritance

  • object
  • AnalysisGateSettings

Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 1

Constructors

public AnalysisGateSettings() #

Properties

public bool 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 AnalysisGateSettings.Types, a finding is in-scope when it matches either filter.

public bool IncludeOutsidePackRules { get; set; } #

When true, findings for rules outside the enabled packs can fail the gate (useful to detect untracked tool rules).

public bool FailOnUnavailable { get; set; } #

When true (default), fail when results are unavailable (no matched inputs, parse failures, etc.).

public bool FailOnNoEnabledRules { get; set; } #

When true (default), fail when no rules are enabled (for example packs missing or empty).

public bool FailOnHotspotsToReview { get; set; } #

When true, fail the gate if any in-scope security hotspot has state to-review.

public bool 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 AnalysisGateSettings.NewIssuesOnly is enabled.

public AnalysisGateDuplicationSettings Duplication { get; } #

Duplication-specific gate settings.