Skip to content
This repository was archived by the owner on Sep 1, 2022. It is now read-only.

Commit 6786170

Browse files
committed
step 5
1 parent dbf184f commit 6786170

File tree

4 files changed

+747
-2
lines changed

4 files changed

+747
-2
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import javascript
2+
3+
from DataFlow::Node dollarArg
4+
where
5+
dollarArg = jquery().getACall().getArgument(0)
6+
select dollarArg

courses/javascript/unsafe-jquery/image/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM docker.pkg.github.com/github/codeql-learninglab-actions/codeql-learninglab-check:v1.1.0
1+
FROM docker.pkg.github.com/github/codeql-learninglab-actions/codeql-learninglab-check:v2.0.0
22

33
## Add course config
44
COPY --chown=codeql:codeql config /home/codeql/config

courses/javascript/unsafe-jquery/image/config/config.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"locationPaths": "https://github.com/esbena/bootstrap-pre-27047/blob/204f9cf910d09b97b4075893e6da807443b55e03{path}#L{line-start}-L{line-end}",
44
"expectedResults": {
55
"calls-to-dollar.ql": "calls-to-dollar.csv",
6-
"calls-to-dollar-arg.ql": "calls-to-dollar-arg.csv"
6+
"calls-to-dollar-arg.ql": "calls-to-dollar-arg.csv",
7+
"dollar-arg-node.ql": "dollar-arg-node.csv"
78
}
89
}

0 commit comments

Comments
 (0)