codeql-container
codeql-container copied to clipboard
Outdated scripts reference deprecated `--format=sarifv2` causing scripts to fail
The Python scripts in project contain references to a deprecated format. https://github.com/microsoft/codeql-container/blob/073695d07151238cd9e23f74c3a7f47b468b0388/scripts/unix/analyze_security.sh#L61
Error:
A fatal error occurred: Support for SARIF v2.0.0 (Committee Specification Draft 1) was removed in v2.8.2 of the CodeQL CLI. If you need this functionality, please file a public issue in https://github.com/github/codeql-cli-binaries, or open a private ticket with GitHub Support and request an escalation to engineering.
Error 2 executing from command.
Outcome:
When this happens the issues.sarif is not created.
Workaround:
Replace with --format=sarif-latest