> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/sast-and-sca/cli/reference/sarif.md).

# sl sarif export

The `sarif export` command allows you to export Qwiet findings in the Static Analysis Results Interchange Format (SARIF). This feature is primarily designed to export findings to import into GitHub Code Scanning.

## Usage <a href="#usage" id="usage"></a>

To run: `sl sarif export [command options]`

### Command options <a href="#command-options" id="command-options"></a>

For easy reuse in future analyses, you can store some command-related information as environment variables (we've provided the specific environment variable below). Note that the values for options set via environment variables override those set in a configuration file (which, in turn, are overridden by those specified via command-line flags).

| **Option**                    | **Environment variable** | **Description**                                                    |
| ----------------------------- | ------------------------ | ------------------------------------------------------------------ |
| `--report-file <path>`        |                          | Path to store the generated SARIF report (default: `output.sarif`) |
| `--scan <ID>`                 |                          | The scan ID to use for fetching findings                           |
| `--app <name>` or `-a <name>` | `SHIFTLEFT_APP=<name>`   | The name of the application the analysis is for                    |
