Skip to content

Commit 2581efc

Browse files
committed
ruby: downgrade rb/hardcoded-credentials precision from high to medium
1 parent 613e971 commit 2581efc

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
lgtm,codescanning
2+
* The precision of "Hard-coded credentials" (`rb/hardcoded-credentials`) has been decreased from "high" to "medium". This query will no longer be run and displayed by default on Code Scanning and LGTM.

ruby/ql/src/queries/security/cwe-798/HardcodedCredentials.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* @kind path-problem
55
* @problem.severity error
66
* @security-severity 9.8
7-
* @precision high
7+
* @precision medium
88
* @id rb/hardcoded-credentials
99
* @tags security
1010
* external/cwe/cwe-259

0 commit comments

Comments
 (0)