Table of Contents

Class DevSkimRule

Namespace
Microsoft.DevSkim
Assembly
Microsoft.DevSkim.dll
public class DevSkimRule : Rule
Inheritance
Rule
DevSkimRule
Inherited Members
Rule.Source
Rule.RuntimeTag
Rule.Disabled
Rule.DependsOnTags
Rule.Name
Rule.Id
Rule.Description
Rule.DoesNotApplyTo
Rule.AppliesTo
Rule.FileRegexes
Rule.DoesNotApplyFileRegex
Rule.Tags
Rule.Severity
Rule.Overrides
Rule.Patterns
Rule.Conditions
Rule.MustMatch
Rule.MustNotMatch

Properties

Confidence

[JsonProperty(PropertyName = "confidence")]
[JsonPropertyName("confidence")]
public Confidence Confidence { get; set; }

Property Value

Confidence

Fixes

[JsonProperty(PropertyName = "fix_its")]
[JsonPropertyName("fix_its")]
public List<CodeFix>? Fixes { get; set; }

Property Value

List<CodeFix>

Recommendation

[JsonProperty(PropertyName = "recommendation")]
[JsonPropertyName("recommendation")]
public string? Recommendation { get; set; }

Property Value

string

RuleInfo

[JsonProperty(PropertyName = "rule_info")]
[JsonPropertyName("rule_info")]
public string? RuleInfo { get; set; }

Property Value

string

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.