https://github.com/geekmasher/ghas-sarif-puller
GitHub Advanced Security to pull the SARIF
https://github.com/geekmasher/ghas-sarif-puller
Last synced: over 1 year ago
JSON representation
GitHub Advanced Security to pull the SARIF
- Host: GitHub
- URL: https://github.com/geekmasher/ghas-sarif-puller
- Owner: GeekMasher
- License: mit
- Created: 2021-10-07T15:03:16.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-10-07T15:33:06.000Z (almost 5 years ago)
- Last Synced: 2025-03-23T22:39:19.710Z (over 1 year ago)
- Language: Python
- Size: 9.77 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ghas-sarif-puller
GitHub Advanced Security to pull the SARIF
## Usage
```bash
# Install dependencies
pipenv install
# Run help
pipenv run python ./ghas-sarif-puller.py --help
```
~~~
usage: GHAS-SARIF-Puller [-h] [--debug] -r REPOSITORY [-t TOKEN] [--ref REF] [-o OUTPUT]
optional arguments:
-h, --help show this help message and exit
--debug Enable Debugging
GitHub:
-r REPOSITORY, --repository REPOSITORY
Repository full name (org/repo)
-t TOKEN, --token TOKEN
GitHub PAT (default: $GITHUB_TOKEN)
--ref REF Git Reference / Branch (refs/heads/)
SARIF:
-o OUTPUT, --output OUTPUT
~~~
### Example Command
```bash
pipenv run python ./ghas-sarif-puller.py \
-r "GeekMasher/Pixi" \
-o "geekmasher-pixi.sarif"
```