mirror of
https://github.com/hohn/sarif-cli.git
synced 2025-12-16 17:23:03 +01:00
Update README for CLI usage instructions
This commit is contained in:
17
README.md
17
README.md
@@ -5,6 +5,23 @@
|
|||||||
|
|
||||||
The tool was implemented using Python 3.9.
|
The tool was implemented using Python 3.9.
|
||||||
|
|
||||||
|
# Sarif format information
|
||||||
|
|
||||||
|
The tool operates on sarif generated by LGTM 1.27.0 (by default) or by the CodeQL CLI (enabled with the -f flag given a value of `CLI`).
|
||||||
|
|
||||||
|
The values that the -f flag accepts are: `LGTM` and `CLI`.
|
||||||
|
|
||||||
|
The CLI versions used against development of the CLI support were: 2.6.3, 2.9.4, and 2.11.4.
|
||||||
|
|
||||||
|
The CLI sarif **MUST** contain one additional property `versionControlProvenance` - which needs to look like:
|
||||||
|
```
|
||||||
|
"versionControlProvenance": [
|
||||||
|
{
|
||||||
|
"repositoryUri": "https://github.com/testorg/testrepo.git",
|
||||||
|
"revisionId": "testsha"
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
# Test Setup
|
# Test Setup
|
||||||
This repository includes some test data (in `data`) and uses =git lfs= for storing those test files; installation steps are at
|
This repository includes some test data (in `data`) and uses =git lfs= for storing those test files; installation steps are at
|
||||||
[[https://git-lfs.github.com][git-lfs]]; on a mac with homebrew, install it via
|
[[https://git-lfs.github.com][git-lfs]]; on a mac with homebrew, install it via
|
||||||
|
|||||||
Reference in New Issue
Block a user