You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we can only use @kind problem and @kind path-problem queries with query suites. Other queries need to be run manually and they end up in a separate format (.bqrs and not .sarif).
There's a difference in exporting results from the UI in vscode. If you right click on a row in the query history, this is what you see for a raw query:
However, with the output format set to sarif, we get this error:
A fatal error occurred: Could not process query metadata for
~/path/to/codeql-dbs/<db>/ queries/SampleFile.ql
Error was: Cannot process query metadata for a query without the '@kind' metadata property. To learn more, see
https://codeql.github.com/docs/writing-codeql-queries/metadata-for-codeql-queries/ [NO_KIND_SPECIFIED]
This error happens after we have the BQRS, the tool is just saying it can't convert the BQRS to a SARIF.
Is it possible to include all query results in the sarif file?
Thanks in advance
The text was updated successfully, but these errors were encountered:
Currently we can only use
@kind problemand@kind path-problemqueries with query suites. Other queries need to be run manually and they end up in a separate format (.bqrsand not.sarif).This is what you see for a path-problem query:
Notice the "View Alerts (SARIF)" option
You can directly run a CodeQL query like this:
However, with the output format set to sarif, we get this error:
This error happens after we have the BQRS, the tool is just saying it can't convert the BQRS to a SARIF.
Is it possible to include all query results in the sarif file?
Thanks in advance
The text was updated successfully, but these errors were encountered: