Skip to content

Commit 1644ade

Browse files
Add --sarif-group-rules-by-pack flag
1 parent ddb83a4 commit 1644ade

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

Diff for: CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## [UNRELEASED]
44

5+
- Pass the `--sarif-group-rules-by-pack` argument to CodeQL CLI invocations that generate SARIF. This means the SARIF rule object for each query will now be found underneath its corresponding query pack in `runs[].tool.extensions`. [#546](https://github.com/github/codeql-action/pull/546)
56
- Output the location of CodeQL databases created in the analyze step. [#543](https://github.com/github/codeql-action/pull/543)
67

78
## 1.0.0 - 31 May 2021

Diff for: lib/codeql.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: lib/codeql.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: src/codeql.ts

+1
Original file line numberDiff line numberDiff line change
@@ -727,6 +727,7 @@ function getCodeQLForCmd(cmd: string): CodeQL {
727727
"--min-disk-free=1024", // Try to leave at least 1GB free
728728
"--format=sarif-latest",
729729
"--sarif-multicause-markdown",
730+
"--sarif-group-rules-by-pack",
730731
`--output=${sarifFile}`,
731732
addSnippetsFlag,
732733
// Enable progress verbosity so we log each query as it's interpreted. This aids debugging

0 commit comments

Comments
 (0)