Skip to content

Feature request: Export query results (as SARIF/CSV) #342

@jcreedcmu

Description

@jcreedcmu

After a query is run, we should allow exporting the results as a SARIF file --- in the implementation, this will actually be nearly trivial, as we already use the codeql cli to create a SARIF file during interpretation, and store it in a workspace-local state directory. A solution could simply be to provide a way of conveniently opening this file within vscode (from the query history view, or from the results panel) after which point the user can save it wherever they like.

Also consider exporting as CSV for parity with the eclipse plugin.

  • SARIF
  • CSV

Metadata

Metadata

Assignees

No one assigned

    Labels

    QL4E parityThis issue corresponds to a feature from QL4E not yet implemented for VSCodeVSCodeenhancementNew feature or requestgood first issueGood for newcomers

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions