Skip to content

Commit cd7b4d4

Browse files
committed
feat: Update action.yml to include rewrite-sarif-tool-name input and upgrade dependencies
1 parent 861038a commit cd7b4d4

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

action.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ inputs:
1212
default: ${{ github.token }}
1313
required: false
1414

15+
rewrite-sarif-tool-name:
16+
description: >
17+
Whether to rewrite the SARIF tool name to "CodeQL IaC" or keep the original tool name.
18+
required: false
19+
default: "true"
20+
1521
outputs:
1622
sarif-results:
1723
description: >
@@ -22,10 +28,12 @@ runs:
2228
using: "composite"
2329
steps:
2430
- name: "CodeQL Extractor Action"
25-
uses: advanced-security/[email protected].0
31+
uses: advanced-security/[email protected].5
2632
id: extractor
2733
with:
2834
token: ${{ inputs.token }}
2935
extractors: "advanced-security/[email protected]"
30-
packs: advanced-security/iac-queries
36+
packs: advanced-security/iac-queries@0.5.0
3137
languages: "iac"
38+
# Other settings
39+
sarif-tool-name: ${{ inputs.rewrite-sarif-tool-name }}

0 commit comments

Comments
 (0)