Can I import the output result into a txt file? How to do it? #164
-
Can I import the output result into a txt or else file? How to do it? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
There isn't currently a way to do that through VS Code directly (but there's a related open issue: github/vscode-codeql#439). What you can do currently is look through the CodeQL extension log in the output pane, and find the last call to |
Beta Was this translation helpful? Give feedback.
There isn't currently a way to do that through VS Code directly (but there's a related open issue: github/vscode-codeql#439). What you can do currently is look through the CodeQL extension log in the output pane, and find the last call to
bqrs interpret
, which will have paths to a JSON-formatted SARIF file (ending in .sarif) and a binary query results file (ending in .bqrs). The SARIF file is human readable, and extensions to view it directly in the problems view are available for VS Code and Visual Studio. You can also usecodeql bqrs interpret
to convert a bqrs file into a CSV, but that won't have path information included.