Skip to content

Commit

Permalink
Add confidence since people ask about this too (#1904)
Browse files Browse the repository at this point in the history
---------
Co-authored-by: Katie Horne <katie.horne@semgrep.com>
  • Loading branch information
armchairlinguist authored Jan 17, 2025
1 parent 1184db4 commit 7b37c64
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions docs/kb/rules/understand-severities.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
description: Understand how rule severity is determined.
description: Understand how rule severity and confidence is determined.
tags:
- Rules
- Semgrep Registry
Expand All @@ -23,4 +23,10 @@ In addition to severity, Supply Chain displays an [Exploit prediction scoring sy

* <b>High</b>: 50 - 100%
* <b>Medium</b>: 10 - &#60;50%
* <b>Low</b>: &#60;10%
* <b>Low</b>: &#60;10%

# How are confidence levels assigned to rules?

Confidence level is also set by the rule author, but it is intended to describe the rule, not the vulnerability the rule catches.

The confidence level reflects how confident the rule writer is that the rule patterns capture the vulnerability without generating too many false positive findings. The rule author manually sets the appropriate confidence level. Rules that have more targeted and detailed patterns, such as advanced taint mode rules, typically are given `HIGH` confidence.

0 comments on commit 7b37c64

Please sign in to comment.