mirror of
https://github.com/github/codeql.git
synced 2026-04-29 10:45:15 +02:00
JavaScript: Tweak PasswordInConfigurationFile alerts.
Only highlight first line, and include the password in the alert message.
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
| mysql-config.json:4:16:4:23 | "secret" | Avoid plaintext passwords in configuration files. |
|
||||
| tst4.json:2:10:2:38 | "script ... ecret'" | Avoid plaintext passwords in configuration files. |
|
||||
| mysql-config.json:4:16:4:23 | "secret" | Hard-coded password 'secret' in configuration file. |
|
||||
| tst4.json:2:10:2:38 | "script ... ecret'" | Hard-coded password ''secret'' in configuration file. |
|
||||
| tst7.yml:2:9:2:6 | \| | Hard-coded password 'abc' in configuration file. |
|
||||
|
||||
@@ -1 +1,7 @@
|
||||
password: $$SOME_VAR
|
||||
config: |
|
||||
[mail]
|
||||
host = smtp.mydomain.com
|
||||
port = 25
|
||||
username = sample_admin@mydomain.com
|
||||
password = abc
|
||||
|
||||
Reference in New Issue
Block a user