Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/Microsoft.DevSkim/Microsoft.DevSkim/Rule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ public class Rule

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

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

[JsonProperty(PropertyName = "rule_info")]
public string RuleInfo { get; set; }
Expand All @@ -68,5 +71,10 @@ public class Rule

[JsonProperty(PropertyName = "fix_its")]
public CodeFix[] Fixes { get; set; }

public Rule()
{
Confidence = "medium";
}
}
}