Skip to content

Commit 6b33a74

Browse files
committed
fix: update CodeQL database commands for improved syntax and output format
1 parent 120b287 commit 6b33a74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,9 @@ jobs:
139139
gh extensions install github/gh-codeql
140140
gh codeql set-version latest
141141
142-
gh codeql database create iac-db --language=iac --source-root=./project --search-path ./extractor-pack
142+
gh codeql database create --language=iac --source-root=./project --search-path ./extractor-pack iac-db
143143
144-
gh codeql database analyze iac-db "advanced-security/iac-queries" --format=sarifv2.1.0 --output="iac-${PROJECT_REPO}.sarif"
144+
gh codeql database analyze --search-path ./extractor-pack --format sarif-latest --output="iac-${PROJECT_REPO}.sarif" iac-db ./ql/src
145145
146146
147147
docs:

0 commit comments

Comments
 (0)