Skip to content

Commit 36c7eb7

Browse files
committed
Update rest of the expected files
These expected files are prepended with a deprecation warning on the old DataFlow APIs; no changes were occured in the rest of the contents.
1 parent 5aaadd6 commit 36c7eb7

File tree

13 files changed

+51
-2
lines changed

13 files changed

+51
-2
lines changed

javascript/frameworks/cap/test/queries/cqlinjection/cqlinjection.expected

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
WARNING: module 'PathGraph' has been deprecated and may be removed in future (CqlInjection.ql:14,8-27)
2+
WARNING: type 'Configuration' has been deprecated and may be removed in future (CqlInjection.ql:19,33-61)
3+
WARNING: type 'PathNode' has been deprecated and may be removed in future (CqlInjection.ql:46,29-47)
4+
WARNING: type 'PathNode' has been deprecated and may be removed in future (CqlInjection.ql:46,56-74)
15
nodes
26
| cqlinjection.js:7:34:7:36 | req |
37
| cqlinjection.js:7:34:7:36 | req |
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
WARNING: module 'PathGraph' has been deprecated and may be removed in future (LogInjection.ql:14,8-27)
2+
WARNING: type 'PathNode' has been deprecated and may be removed in future (LogInjection.ql:18,43-61)
3+
WARNING: type 'PathNode' has been deprecated and may be removed in future (LogInjection.ql:18,70-88)
14
nodes
25
edges
36
#select
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
WARNING: module 'PathGraph' has been deprecated and may be removed in future (LogInjection.ql:14,8-27)
2+
WARNING: type 'PathNode' has been deprecated and may be removed in future (LogInjection.ql:18,43-61)
3+
WARNING: type 'PathNode' has been deprecated and may be removed in future (LogInjection.ql:18,70-88)
14
nodes
25
edges
36
#select
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
WARNING: module 'PathGraph' has been deprecated and may be removed in future (LogInjection.ql:14,8-27)
2+
WARNING: type 'PathNode' has been deprecated and may be removed in future (LogInjection.ql:18,43-61)
3+
WARNING: type 'PathNode' has been deprecated and may be removed in future (LogInjection.ql:18,70-88)
14
nodes
25
edges
36
#select

javascript/frameworks/cap/test/queries/loginjection/log-injection-with-service1-protocol-none/log-injection-with-service1-protocol-none.expected

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
WARNING: module 'PathGraph' has been deprecated and may be removed in future (LogInjection.ql:14,8-27)
2+
WARNING: type 'PathNode' has been deprecated and may be removed in future (LogInjection.ql:18,43-61)
3+
WARNING: type 'PathNode' has been deprecated and may be removed in future (LogInjection.ql:18,70-88)
14
nodes
25
| srv/service2.js:6:29:6:31 | msg |
36
| srv/service2.js:6:29:6:31 | msg |

javascript/frameworks/cap/test/queries/loginjection/log-injection-with-service2-protocol-none/log-injection-with-service2-protocol-none.expected

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
WARNING: module 'PathGraph' has been deprecated and may be removed in future (LogInjection.ql:14,8-27)
2+
WARNING: type 'PathNode' has been deprecated and may be removed in future (LogInjection.ql:18,43-61)
3+
WARNING: type 'PathNode' has been deprecated and may be removed in future (LogInjection.ql:18,70-88)
14
nodes
25
| srv/service1.js:6:33:6:35 | req |
36
| srv/service1.js:6:33:6:35 | req |

javascript/frameworks/cap/test/queries/loginjection/log-injection-without-protocol-none/log-injection-without-protocol-none.expected

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
WARNING: module 'PathGraph' has been deprecated and may be removed in future (LogInjection.ql:14,8-27)
2+
WARNING: type 'PathNode' has been deprecated and may be removed in future (LogInjection.ql:18,43-61)
3+
WARNING: type 'PathNode' has been deprecated and may be removed in future (LogInjection.ql:18,70-88)
14
nodes
25
| srv/service1.js:6:33:6:35 | req |
36
| srv/service1.js:6:33:6:35 | req |
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1+
WARNING: module 'PathGraph' has been deprecated and may be removed in future (SensitiveExposure.ql:17,8-27)
2+
WARNING: type 'Configuration' has been deprecated and may be removed in future (SensitiveExposure.ql:50,42-70)
3+
WARNING: type 'PathNode' has been deprecated and may be removed in future (SensitiveExposure.ql:60,41-59)
4+
WARNING: type 'PathNode' has been deprecated and may be removed in future (SensitiveExposure.ql:60,68-86)
15
nodes
26
| sensitive-exposure.js:9:32:9:42 | Sample.name |
37
| sensitive-exposure.js:9:32:9:42 | Sample.name |
48
| sensitive-exposure.js:9:32:9:42 | Sample.name |
59
edges
610
| sensitive-exposure.js:9:32:9:42 | Sample.name | sensitive-exposure.js:9:32:9:42 | Sample.name |
711
#select
8-
| sensitive-exposure.js:9:32:9:42 | Sample.name | sensitive-exposure.js:9:32:9:42 | Sample.name | sensitive-exposure.js:9:32:9:42 | Sample.name | Log entry depends on the $@ field which is annotated as potentially sensitive. | sensitive-exposure.cds:4:5:4:8 | {\\n ... } | name |
12+
| sensitive-exposure.js:9:32:9:42 | Sample.name | sensitive-exposure.js:9:32:9:42 | Sample.name | sensitive-exposure.js:9:32:9:42 | Sample.name | Log entry depends on the $@ field which is annotated as potentially sensitive. | sensitive-exposure.cds.json:9:17:13:9 | {\\n ... } | name |
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,24 @@
11
| source.xsjs:42:24:42:54 | webRequ ... uffer() | Remote flow source of type: Remote flow |
2+
| source.xsjs:42:24:42:54 | webRequ ... uffer() | Remote flow source of type: Source node (remote) [from data-extension] |
23
| source.xsjs:43:24:43:49 | webRequ ... tring() | Remote flow source of type: Remote flow |
4+
| source.xsjs:43:24:43:49 | webRequ ... tring() | Remote flow source of type: Source node (remote) [from data-extension] |
35
| source.xsjs:44:24:44:53 | webRequ ... quest() | Remote flow source of type: Remote flow |
6+
| source.xsjs:44:24:44:53 | webRequ ... quest() | Remote flow source of type: Source node (remote) [from data-extension] |
47
| source.xsjs:46:24:46:54 | webRequ ... uffer() | Remote flow source of type: Remote flow |
8+
| source.xsjs:46:24:46:54 | webRequ ... uffer() | Remote flow source of type: Source node (remote) [from data-extension] |
59
| source.xsjs:47:24:47:49 | webRequ ... tring() | Remote flow source of type: Remote flow |
10+
| source.xsjs:47:24:47:49 | webRequ ... tring() | Remote flow source of type: Source node (remote) [from data-extension] |
611
| source.xsjs:48:24:48:53 | webRequ ... quest() | Remote flow source of type: Remote flow |
12+
| source.xsjs:48:24:48:53 | webRequ ... quest() | Remote flow source of type: Source node (remote) [from data-extension] |
713
| source.xsjs:52:25:52:44 | webRequestParam1.get | Remote flow source of type: Remote flow |
14+
| source.xsjs:52:25:52:44 | webRequestParam1.get | Remote flow source of type: Source node (remote) [from data-extension] |
815
| source.xsjs:52:25:52:51 | webRequ ... ("key") | Remote flow source of type: Remote flow |
16+
| source.xsjs:52:25:52:51 | webRequ ... ("key") | Remote flow source of type: Source node (remote) [from data-extension] |
917
| source.xsjs:53:25:53:44 | webRequestParam1.key | Remote flow source of type: Remote flow |
18+
| source.xsjs:53:25:53:44 | webRequestParam1.key | Remote flow source of type: Source node (remote) [from data-extension] |
1019
| source.xsjs:55:25:55:44 | webRequestParam2.get | Remote flow source of type: Remote flow |
20+
| source.xsjs:55:25:55:44 | webRequestParam2.get | Remote flow source of type: Source node (remote) [from data-extension] |
1121
| source.xsjs:55:25:55:51 | webRequ ... ("key") | Remote flow source of type: Remote flow |
22+
| source.xsjs:55:25:55:51 | webRequ ... ("key") | Remote flow source of type: Source node (remote) [from data-extension] |
1223
| source.xsjs:56:25:56:44 | webRequestParam2.key | Remote flow source of type: Remote flow |
24+
| source.xsjs:56:25:56:44 | webRequestParam2.key | Remote flow source of type: Source node (remote) [from data-extension] |

javascript/frameworks/xsjs/test/queries/XSJSReflectedXss/XSJSReflectedXss.expected

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
WARNING: module 'PathGraph' has been deprecated and may be removed in future (XSJSReflectedXss.ql:15,8-27)
2+
WARNING: type 'PathNode' has been deprecated and may be removed in future (XSJSReflectedXss.ql:17,28-46)
3+
WARNING: type 'PathNode' has been deprecated and may be removed in future (XSJSReflectedXss.ql:17,55-73)
14
nodes
25
| XSJSReflectedXss.xsjs:11:7:11:67 | someParameterValue1 |
36
| XSJSReflectedXss.xsjs:11:7:11:67 | someParameterValue1 |
@@ -46,4 +49,3 @@ edges
4649
| XSJSReflectedXss.xsjs:32:46:32:64 | someParameterValue3 | XSJSReflectedXss.xsjs:32:22:32:65 | request ... Value3) |
4750
#select
4851
| XSJSReflectedXss.xsjs:13:22:13:65 | request ... Value1) | XSJSReflectedXss.xsjs:11:29:11:67 | request ... eter1") | XSJSReflectedXss.xsjs:13:22:13:65 | request ... Value1) | Reflected XSS vulnerability due to $@. | XSJSReflectedXss.xsjs:11:29:11:67 | request ... eter1") | user-provided value |
49-

0 commit comments

Comments
 (0)