Skip to content

VamPi Scan Horusec

VamPi Scan Horusec #26

name: Run Horusec (SAST), Generate Script and Save Artifact
on:
push:
paths:
- 'targets/web/VAmPI-master/**'
jobs:
run-scripts:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: SAST - Horusec Run 🐞
run: |
cd ./targets/web/VAmPI-master ; curl -sL https://raw.githubusercontent.com/0xtiago/opensource-devsecops/main/tools/horusec/horusec_docker_linux.sh| bash
- name: SAST - Horusec Report Generation 📊
run: |
cd ./targets/web/VAmPI-master/reports
curl -sL https://raw.githubusercontent.com/0xtiago/opensource-devsecops/main/tools/horusec/horusec_json2md/horusec_json2md.py -o horusec_json2md.py
python3 horusec_json2md.py horusec_report.json horusec_report.md
- name: SAST - Horusec Upload Report Artifact 💾
uses: actions/upload-artifact@v3
with:
name: SAST - Horusec Scan
path: ./targets/web/VAmPI-master/reports/horusec_report.md
- name: SAST - Horusec Results In Summary 💁🏽
run: cat ./targets/web/VAmPI-master/reports/horusec_report.md >> $GITHUB_STEP_SUMMARY