We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d18758 commit 0f515faCopy full SHA for 0f515fa
1 file changed
actions/ql/src/experimental/Security/CWE-798/HardcodedContainerCredentials.ql
@@ -23,8 +23,7 @@ private import codeql.actions.ast.internal.Ast
23
YamlScalar getAHardcodedPassword(LocalJobImpl job, string context) {
24
exists(YamlMapping creds |
25
// Job-level container credentials
26
- creds =
27
- job.getNode().lookup("container").(YamlMapping).lookup("credentials") and
+ creds = job.getNode().lookup("container").(YamlMapping).lookup("credentials") and
28
context = "container"
29
or
30
// Service-level container credentials
0 commit comments