https://github.com/ivan-sincek/mixaudit-sarif
Convert MixAudit's JSON formatted results to SARIF format.
https://github.com/ivan-sincek/mixaudit-sarif
elixir github-actions mixaudit sast sobelow testing workflows yaml
Last synced: 4 months ago
JSON representation
Convert MixAudit's JSON formatted results to SARIF format.
- Host: GitHub
- URL: https://github.com/ivan-sincek/mixaudit-sarif
- Owner: ivan-sincek
- License: mit
- Created: 2021-08-26T17:04:33.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-11-26T18:42:22.000Z (over 1 year ago)
- Last Synced: 2024-10-17T16:21:18.259Z (8 months ago)
- Topics: elixir, github-actions, mixaudit, sast, sobelow, testing, workflows, yaml
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MixAudit SARIF
Convert MixAudit's JSON formatted results to SARIF format.
Tested on Kali Linux v2023.1 (64-bit) and with GitHub Actions.
Made for educational purposes. I hope it will help!
## How to Run
Open your preferred console from [/src/](https://github.com/ivan-sincek/mixaudit-sarif/tree/master/src) and run the commands show below.
Install required packages:
```fundamental
pip3 install -r requirements.txt
```Run the script:
```fundamental
python mixaudit_sarif.py
```Check the workflow [here](https://github.com/ivan-sincek/mixaudit-sarif/blob/main/workflows/mixaudit-analysis.yml).
## Other Elixir Workflows
Check the workflow for Elixir projects built on Phoenix framework [here](https://github.com/ivan-sincek/mixaudit-sarif/blob/main/workflows/sobelow-analysis.yml).
## Usage
```fundamental
MixAudit SARIF v1.7 ( github.com/ivan-sincek/mixaudit-sarif )Usage: python mixaudit_sarif.py -f file -o out -d directory
Example: python mixaudit_sarif.py -f mixaudit.json -o results.sarif -d $GITHUB_WORKSPACEDESCRIPTION
Convert MixAudit's JSON formatted results to SARIF format
FILE
MixAudit's JSON results file
-f - mixaudit.json | etc.
OUT
SARIF output file
-o - results.sarif | etc.
DIRECTORY
Project's root directory within the workflow container
-d - $GITHUB_WORKSPACE | /home/runner/work/repo/repo | etc.
```