https://github.com/pcfens/sast-parser
Parse GitLab SAST reports into more human readable projects
https://github.com/pcfens/sast-parser
gitlab hacktoberfest sast
Last synced: 3 months ago
JSON representation
Parse GitLab SAST reports into more human readable projects
- Host: GitHub
- URL: https://github.com/pcfens/sast-parser
- Owner: pcfens
- License: apache-2.0
- Created: 2020-10-01T01:19:09.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2025-02-19T20:28:17.000Z (4 months ago)
- Last Synced: 2025-03-31T09:06:24.981Z (3 months ago)
- Topics: gitlab, hacktoberfest, sast
- Language: Python
- Homepage:
- Size: 53.7 KB
- Stars: 64
- Watchers: 8
- Forks: 22
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sast-parser
[](https://github.com/pcfens/sast-parser/actions/workflows/main.yml)
A simple tool to make understanding GitLab SAST reports a little bit
easier.## Installation
```bash
pip install -r requirements.txt
```## Building
```bash
docker build -t sast-parser .
```## Running
### From source
```bash
usage: parse-sast.py [-h] [--only-severities ONLY_SEVERITIES]
[--jsonpath-filter JSONPATH_FILTER]
[--no-verify-version]
files [files ...]
```### From docker
```bash
docker run --rm -it -v "$(pwd):/reports" sast-parser [-h] [--only-severities ONLY_SEVERITIES]
[--jsonpath-filter JSONPATH_FILTER]
files [files ...]
```You can the create an alias to make it easier to run:
```bash
alias sast-parser="docker run --rm -it -v \"$(pwd):/reports\" sast-parser"
```