Skip to content

Commit 11f38c2

Browse files
committed
🧹 adjust impact values that are mapped to ratings
1 parent 3666ece commit 11f38c2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

explorer/impact.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ import (
1414
// Impact represents severity rating scale when impact is provided as human-readable string value
1515
var impactMapping = map[string]int32{
1616
"none": 0,
17-
"low": 10,
18-
"medium": 40,
19-
"high": 70,
20-
"critical": 100,
17+
"low": 20,
18+
"medium": 55,
19+
"high": 80,
20+
"critical": 95,
2121
}
2222

2323
func (v *Impact) HumanReadable() string {

0 commit comments

Comments
 (0)