Skip to content

Commit 879fa61

Browse files
committed
Update SqlInjection.expected
1 parent af1a00a commit 879fa61

1 file changed

Lines changed: 29 additions & 6 deletions

File tree

javascript/ql/test/query-tests/Security/CWE-089/typed/SqlInjection.expected

Lines changed: 29 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,33 @@
11
#select
2+
| typedClient.ts:14:24:14:32 | { id: v } | typedClient.ts:13:22:13:29 | req.body | typedClient.ts:14:24:14:32 | { id: v } | This query object depends on a $@. | typedClient.ts:13:22:13:29 | req.body | user-provided value |
3+
| typedClient.ts:22:27:22:35 | { id: v } | typedClient.ts:21:22:21:29 | req.body | typedClient.ts:22:27:22:35 | { id: v } | This query object depends on a $@. | typedClient.ts:21:22:21:29 | req.body | user-provided value |
4+
| typedClient.ts:23:27:23:35 | { id: v } | typedClient.ts:21:22:21:29 | req.body | typedClient.ts:23:27:23:35 | { id: v } | This query object depends on a $@. | typedClient.ts:21:22:21:29 | req.body | user-provided value |
25
edges
6+
| typedClient.ts:13:7:13:32 | v | typedClient.ts:14:30:14:30 | v | provenance | |
7+
| typedClient.ts:13:11:13:32 | JSON.pa ... body.x) | typedClient.ts:13:7:13:32 | v | provenance | |
8+
| typedClient.ts:13:22:13:29 | req.body | typedClient.ts:13:22:13:31 | req.body.x | provenance | Config |
9+
| typedClient.ts:13:22:13:31 | req.body.x | typedClient.ts:13:11:13:32 | JSON.pa ... body.x) | provenance | Config |
10+
| typedClient.ts:14:30:14:30 | v | typedClient.ts:14:24:14:32 | { id: v } | provenance | Config |
11+
| typedClient.ts:21:7:21:32 | v | typedClient.ts:22:33:22:33 | v | provenance | |
12+
| typedClient.ts:21:7:21:32 | v | typedClient.ts:23:33:23:33 | v | provenance | |
13+
| typedClient.ts:21:11:21:32 | JSON.pa ... body.x) | typedClient.ts:21:7:21:32 | v | provenance | |
14+
| typedClient.ts:21:22:21:29 | req.body | typedClient.ts:21:22:21:31 | req.body.x | provenance | Config |
15+
| typedClient.ts:21:22:21:31 | req.body.x | typedClient.ts:21:11:21:32 | JSON.pa ... body.x) | provenance | Config |
16+
| typedClient.ts:22:33:22:33 | v | typedClient.ts:22:27:22:35 | { id: v } | provenance | Config |
17+
| typedClient.ts:23:33:23:33 | v | typedClient.ts:23:27:23:35 | { id: v } | provenance | Config |
318
nodes
19+
| typedClient.ts:13:7:13:32 | v | semmle.label | v |
20+
| typedClient.ts:13:11:13:32 | JSON.pa ... body.x) | semmle.label | JSON.pa ... body.x) |
21+
| typedClient.ts:13:22:13:29 | req.body | semmle.label | req.body |
22+
| typedClient.ts:13:22:13:31 | req.body.x | semmle.label | req.body.x |
23+
| typedClient.ts:14:24:14:32 | { id: v } | semmle.label | { id: v } |
24+
| typedClient.ts:14:30:14:30 | v | semmle.label | v |
25+
| typedClient.ts:21:7:21:32 | v | semmle.label | v |
26+
| typedClient.ts:21:11:21:32 | JSON.pa ... body.x) | semmle.label | JSON.pa ... body.x) |
27+
| typedClient.ts:21:22:21:29 | req.body | semmle.label | req.body |
28+
| typedClient.ts:21:22:21:31 | req.body.x | semmle.label | req.body.x |
29+
| typedClient.ts:22:27:22:35 | { id: v } | semmle.label | { id: v } |
30+
| typedClient.ts:22:33:22:33 | v | semmle.label | v |
31+
| typedClient.ts:23:27:23:35 | { id: v } | semmle.label | { id: v } |
32+
| typedClient.ts:23:33:23:33 | v | semmle.label | v |
433
subpaths
5-
testFailures
6-
| typedClient.ts:13:35:13:45 | // $ Source | Missing result: Source |
7-
| typedClient.ts:14:36:14:45 | // $ Alert | Missing result: Alert |
8-
| typedClient.ts:21:35:21:45 | // $ Source | Missing result: Source |
9-
| typedClient.ts:22:39:22:48 | // $ Alert | Missing result: Alert |
10-
| typedClient.ts:23:39:23:48 | // $ Alert | Missing result: Alert |

0 commit comments

Comments
 (0)