mirror of
https://github.com/github/codeql.git
synced 2026-04-29 18:55:14 +02:00
Enhance query ouput
- add valuable text to assess the query results - add an example of the output
This commit is contained in:
@@ -16,4 +16,5 @@ from CallNode call
|
||||
where
|
||||
call = moduleMember("jsonwebtoken", "verify").getACall() and
|
||||
unique(boolean b | b = call.getArgument(1).analyze().getABooleanValue()) = false
|
||||
select call
|
||||
select call.getStartLine(), call,
|
||||
"does not verify the JWT payload with a cryptographic secret or public key."
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
| col0 | call | col2 |
|
||||
+------+---------------------+----------------------------------------------------------------------------+
|
||||
| 9 | jwt.ver ... ne"] }) | does not verify the JWT payload with a cryptographic secret or public key. |
|
||||
| 10 | jwt.ver ... ne"] }) | does not verify the JWT payload with a cryptographic secret or public key. |
|
||||
| 11 | jwt.ver ... ne"] }) | does not verify the JWT payload with a cryptographic secret or public key. |
|
||||
Reference in New Issue
Block a user