Skip to content

Commit 43a55e8

Browse files
author
Alvaro Muñoz
committed
feat(model-generator): New qls for modelling composite actions
1 parent 8ae1e26 commit 43a55e8

File tree

4 files changed

+12
-6
lines changed

4 files changed

+12
-6
lines changed

action.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,12 @@ inputs:
88

99
source-root:
1010
description: "Path of the root source code directory, relative to $GITHUB_WORKSPACE."
11-
default: "./"
11+
default: ${{ github.workspace }}
1212

13-
sarif:
13+
sarif-output:
1414
description: "SARIF File Output"
1515
default: "codeql-actions.sarif"
1616

17-
# runs:
18-
# using: "node16"
19-
# main: ".github/action/dist/index.js"
20-
2117
runs:
2218
using: 'composite'
2319
steps:

ql/src/Security/CWE-020/CompositeActionSummaries.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
* @precision high
88
* @id actions/composite-action-summaries
99
* @tags actions
10+
* model-generator
1011
* external/cwe/cwe-020
1112
*/
1213

ql/src/Security/CWE-020/CompositeActionsSources.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
* @precision high
88
* @id actions/composite-action-sources
99
* @tags actions
10+
* model-generator
1011
* external/cwe/cwe-020
1112
*/
1213

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
- description: Queries to model composite actions
2+
- queries: .
3+
4+
- include:
5+
kind:
6+
- path-problem
7+
tags contain:
8+
- model-generator

0 commit comments

Comments
 (0)