Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month 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 (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-03-04T15:37:55.000Z (10 months ago)
- Last Synced: 2024-10-26T22:16:02.878Z (about 2 months ago)
- Topics: gitlab, hacktoberfest, sast
- Language: Python
- Homepage:
- Size: 50.8 KB
- Stars: 60
- Watchers: 9
- Forks: 20
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sast-parser
[![Docker](https://github.com/pcfens/sast-parser/actions/workflows/main.yml/badge.svg?branch=master)](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"
```