Skip to content

Commit 162b382

Browse files
authored
Merge pull request #7613 from github/smowton/admin/tag-random-used-once
Remove security-severity tag to java/random-used-once
2 parents cb098df + c63fcb2 commit 162b382

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

java/ql/src/Likely Bugs/Arithmetic/RandomUsedOnce.ql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
* guarantee an evenly distributed sequence of random numbers.
55
* @kind problem
66
* @problem.severity warning
7-
* @security-severity 9.8
87
* @precision medium
98
* @id java/random-used-once
109
* @tags reliability
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
category: queryMetadata
3+
---
4+
* The "Random used only once" (`java/random-used-once`) query no longer has a `security-severity` score. This has been causing some tools to categorise it as a security query, when it is more useful as a code-quality query.

0 commit comments

Comments
 (0)