Skip to content

Commit 7139d3b

Browse files
author
Alvaro Muñoz
authored
Merge pull request #8 from GitHubSecurityLab/changed-files-sources
Add some changed-files sources
2 parents 6b83afe + 2b3b373 commit 7139d3b

12 files changed

+96
-51
lines changed

ql/lib/codeql/actions/dataflow/ExternalFlow.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ predicate summaryModel(string action, string version, string input, string outpu
3232
* Fields:
3333
* - action: Fully-qualified action name (NWO)
3434
* - version: Either '*' or a specific SHA/Tag
35-
* - input arg: sink node (prefixed with either `env.` or `input.`)
35+
* - input: sink node (prefixed with either `env.` or `input.`)
3636
* - kind: sink kind
3737
*/
3838
predicate sinkModel(string action, string version, string input, string kind) {

ql/lib/ext/REMOVEME.model.yml

Lines changed: 0 additions & 6 deletions
This file was deleted.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
extensions:
2+
- addsTo:
3+
pack: codeql/actions-all
4+
extensible: sourceModel
5+
data:
6+
- ["ahmadnassri/action-changed-files", "*", "output.files", "pull_request", "PR changed files"]
7+
- ["ahmadnassri/action-changed-files", "*", "output.files", "pull_request_target", "PR changed files"]
8+
- ["ahmadnassri/action-changed-files", "*", "output.json", "pull_request", "PR changed files"]
9+
- ["ahmadnassri/action-changed-files", "*", "output.json", "pull_request_target", "PR changed files"]
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
extensions:
2+
- addsTo:
3+
pack: codeql/actions-all
4+
extensible: sourceModel
5+
data:
6+
- ["dorny/paths-filter", "*", "output.changes", "pull_request", "PR changed files"]
7+
- ["dorny/paths-filter", "*", "output.changes", "pull_request_target", "PR changed files"]

ql/lib/ext/frabert-replace-string-action.model.yml

Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
extensions:
2+
- addsTo:
3+
pack: codeql/actions-all
4+
extensible: summaryModel
5+
data:
6+
- ["frabert/replace-string-action", "*", "string", "replaced", "taint"]
7+
- ["frabert/replace-string-action", "*", "replace-with", "replaced", "taint"]
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
extensions:
2+
- addsTo:
3+
pack: codeql/actions-all
4+
extensible: sourceModel
5+
data:
6+
- ["jitterbit/get-changed-files", "*", "output.all", "pull_request", "PR changed files"]
7+
- ["jitterbit/get-changed-files", "*", "output.all", "pull_request_target", "PR changed files"]
8+
- ["jitterbit/get-changed-files", "*", "output.added", "pull_request", "PR changed files"]
9+
- ["jitterbit/get-changed-files", "*", "output.added", "pull_request_target", "PR changed files"]
10+
- ["jitterbit/get-changed-files", "*", "output.modified", "pull_request", "PR changed files"]
11+
- ["jitterbit/get-changed-files", "*", "output.modified", "pull_request_target", "PR changed files"]
12+
- ["jitterbit/get-changed-files", "*", "output.removed", "pull_request", "PR changed files"]
13+
- ["jitterbit/get-changed-files", "*", "output.removed", "pull_request_target", "PR changed files"]
14+
- ["jitterbit/get-changed-files", "*", "output.renamed", "pull_request", "PR changed files"]
15+
- ["jitterbit/get-changed-files", "*", "output.renamed", "pull_request_target", "PR changed files"]
16+
- ["jitterbit/get-changed-files", "*", "output.added_modified", "pull_request", "PR changed files"]
17+
- ["jitterbit/get-changed-files", "*", "output.added_modified", "pull_request_target", "PR changed files"]
18+
- ["jitterbit/get-changed-files", "*", "output.deleted", "pull_request", "PR changed files"]
19+
- ["jitterbit/get-changed-files", "*", "output.deleted", "pull_request_target", "PR changed files"]

ql/lib/ext/mad9000-actions-find-and-replace-string.model.yml

Lines changed: 0 additions & 9 deletions
This file was deleted.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
extensions:
2+
- addsTo:
3+
pack: codeql/actions-all
4+
extensible: summaryModel
5+
data:
6+
- ["mad9000/actions-find-and-replace-string", "*", "source", "value", "taint"]
7+
- ["mad9000/actions-find-and-replace-string", "*", "replace", "value", "taint"]

ql/lib/ext/tj-actions-changed-files.model.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)