Add --sarif-group-rules-by-pack flag
This commit is contained in:
parent
ddb83a462d
commit
1644ade514
4 changed files with 4 additions and 1 deletions
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
## [UNRELEASED]
|
||||
|
||||
- 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)
|
||||
- Output the location of CodeQL databases created in the analyze step. [#543](https://github.com/github/codeql-action/pull/543)
|
||||
|
||||
## 1.0.0 - 31 May 2021
|
||||
|
|
|
|||
1
lib/codeql.js
generated
1
lib/codeql.js
generated
|
|
@ -474,6 +474,7 @@ function getCodeQLForCmd(cmd) {
|
|||
"--min-disk-free=1024",
|
||||
"--format=sarif-latest",
|
||||
"--sarif-multicause-markdown",
|
||||
"--sarif-group-rules-by-pack",
|
||||
`--output=${sarifFile}`,
|
||||
addSnippetsFlag,
|
||||
// Enable progress verbosity so we log each query as it's interpreted. This aids debugging
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -727,6 +727,7 @@ function getCodeQLForCmd(cmd: string): CodeQL {
|
|||
"--min-disk-free=1024", // Try to leave at least 1GB free
|
||||
"--format=sarif-latest",
|
||||
"--sarif-multicause-markdown",
|
||||
"--sarif-group-rules-by-pack",
|
||||
`--output=${sarifFile}`,
|
||||
addSnippetsFlag,
|
||||
// Enable progress verbosity so we log each query as it's interpreted. This aids debugging
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue