Change the message

This commit is contained in:
edvraa
2021-05-11 12:59:04 +03:00
committed by Chris Smowton
parent 8414759f7d
commit c9c22fd871
2 changed files with 4 additions and 5 deletions

View File

@@ -31,5 +31,4 @@ class RsaKeyTrackingConfiguration extends DataFlow::Configuration {
from RsaKeyTrackingConfiguration cfg, DataFlow::PathNode source, DataFlow::PathNode sink
where cfg.hasFlowPath(source, sink)
select sink, source, sink, "The size of RSA key '$@' should be at least 2048 bits.", sink,
source.getNode().toString()
select sink, source, sink, "The size of this RSA key should be at least 2048 bits."

View File

@@ -10,6 +10,6 @@ nodes
| InsufficientKeySize.go:25:11:25:14 | definition of size : int | semmle.label | definition of size : int |
| InsufficientKeySize.go:26:31:26:34 | size | semmle.label | size |
#select
| InsufficientKeySize.go:9:31:9:34 | 1024 | InsufficientKeySize.go:9:31:9:34 | 1024 | InsufficientKeySize.go:9:31:9:34 | 1024 | The size of RSA key '$@' should be at least 2048 bits. | InsufficientKeySize.go:9:31:9:34 | 1024 | 1024 |
| InsufficientKeySize.go:14:31:14:34 | size | InsufficientKeySize.go:13:10:13:13 | 1024 : int | InsufficientKeySize.go:14:31:14:34 | size | The size of RSA key '$@' should be at least 2048 bits. | InsufficientKeySize.go:14:31:14:34 | size | 1024 |
| InsufficientKeySize.go:26:31:26:34 | size | InsufficientKeySize.go:18:7:18:10 | 1024 : int | InsufficientKeySize.go:26:31:26:34 | size | The size of RSA key '$@' should be at least 2048 bits. | InsufficientKeySize.go:26:31:26:34 | size | 1024 |
| InsufficientKeySize.go:9:31:9:34 | 1024 | InsufficientKeySize.go:9:31:9:34 | 1024 | InsufficientKeySize.go:9:31:9:34 | 1024 | The size of this RSA key should be at least 2048 bits. |
| InsufficientKeySize.go:14:31:14:34 | size | InsufficientKeySize.go:13:10:13:13 | 1024 : int | InsufficientKeySize.go:14:31:14:34 | size | The size of this RSA key should be at least 2048 bits. |
| InsufficientKeySize.go:26:31:26:34 | size | InsufficientKeySize.go:18:7:18:10 | 1024 : int | InsufficientKeySize.go:26:31:26:34 | size | The size of this RSA key should be at least 2048 bits. |