# AnalysisGateSettings

Settings that control CI gating behavior for static analysis.

Class 

`IntelligenceX.Analysis`

**Namespace**

`IntelligenceX.Analysis`

**Assembly**

`IntelligenceX`

**Source**

[AnalysisSettings.cs:125](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Analysis/AnalysisSettings.cs#L125)

**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

- Property [AnalysisSettings.Gate](/api/intelligencex-analysis-analysissettings/#property-gate)

Filter members 

Show inherited

## Constructors

`public AnalysisGateSettings()` [#](#constructor-ctor)

[AnalysisSettings.cs:125](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Analysis/AnalysisSettings.cs#L125)

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public bool Enabled { get; set; }` [#](#property-enabled)

[AnalysisSettings.cs:121](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Analysis/AnalysisSettings.cs#L121)

Enables the analysis gate. When enabled, intelligencex analyze gate can fail CI deterministically.

`public string MinSeverity { get; set; }` [#](#property-minseverity)

[AnalysisSettings.cs:125](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Analysis/AnalysisSettings.cs#L125)

Minimum severity to consider for gate evaluation. Defaults to warning.

`public IReadOnlyList<string> Types { get; set; }` [#](#property-types)

[AnalysisSettings.cs:129](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Analysis/AnalysisSettings.cs#L129)

Optional list of rule types to gate on (e.g. bug, vulnerability). When empty, all types are considered.

`public IReadOnlyList<string> RuleIds { get; set; }` [#](#property-ruleids)

[AnalysisSettings.cs:134](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Analysis/AnalysisSettings.cs#L134)

Optional list of explicit rule IDs to gate on. When set together with [AnalysisGateSettings.Types](/api/intelligencex-analysis-analysisgatesettings/), a finding is in-scope when it matches either filter.

`public bool IncludeOutsidePackRules { get; set; }` [#](#property-includeoutsidepackrules)

[AnalysisSettings.cs:138](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Analysis/AnalysisSettings.cs#L138)

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

`public bool FailOnUnavailable { get; set; }` [#](#property-failonunavailable)

[AnalysisSettings.cs:142](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Analysis/AnalysisSettings.cs#L142)

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

`public bool FailOnNoEnabledRules { get; set; }` [#](#property-failonnoenabledrules)

[AnalysisSettings.cs:146](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Analysis/AnalysisSettings.cs#L146)

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

`public bool FailOnHotspotsToReview { get; set; }` [#](#property-failonhotspotstoreview)

[AnalysisSettings.cs:150](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Analysis/AnalysisSettings.cs#L150)

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

`public bool NewIssuesOnly { get; set; }` [#](#property-newissuesonly)

[AnalysisSettings.cs:154](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Analysis/AnalysisSettings.cs#L154)

When true, the gate evaluates only findings that are not present in the configured baseline.

`public string BaselinePath { get; set; }` [#](#property-baselinepath)

[AnalysisSettings.cs:158](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Analysis/AnalysisSettings.cs#L158)

Relative or absolute path to the findings baseline used when [AnalysisGateSettings.NewIssuesOnly](/api/intelligencex-analysis-analysisgatesettings/) is enabled.

`public AnalysisGateDuplicationSettings Duplication { get; }` [#](#property-duplication)

[AnalysisSettings.cs:162](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Analysis/AnalysisSettings.cs#L162)

Duplication-specific gate settings.

<!-- PowerForge markdown artifact sha256:E09FC0D0D6D64279F255BC9EE7633CE27F1079DA0A767147195A84A2AC6F73A5 -->
