# `mix lei.sarif`
[🔗](https://github.com/gtri/lowendinsight/blob/main/lib/mix/tasks/lei/sarif.ex#L5)

Analyze a project's dependencies and produce a SARIF 2.1.0 report suitable
for upload to GitHub Code Scanning via the `github/codeql-action/upload-sarif` action.

## Usage

    mix lei.sarif [path] [--output <file>]

## Options

  * `--output` / `-o` - Write SARIF to file instead of stdout

## Examples

    mix lei.sarif
    mix lei.sarif . --output lei-results.sarif
    mix lei.sarif /path/to/project -o results.sarif

---

*Consult [api-reference.md](api-reference.md) for complete listing*
