Skip to content

Commit

Permalink
ci: fix wapiti report
Browse files Browse the repository at this point in the history
  • Loading branch information
gipo355 committed Jun 11, 2024
1 parent 9f282bd commit f24cc82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/vulnerability-scans.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
run: |
echo "<a href='/tomcat-webapp-boilerplate/zap/report_html.html'>ZAP Report</a>" >> ./docs/gh-pages/index.html
echo "<a href='/tomcat-webapp-boilerplate/zap/report_json.json'>ZAP Report json</a>" >> ./docs/gh-pages/index.html
echo "<a href='/tomcat-webapp-boilerplate/wapiti/report.html'>Wapiti Report</a>" >> ./docs/gh-pages/index.html
echo "<a href='/tomcat-webapp-boilerplate/wapiti/out.html'>Wapiti Report</a>" >> ./docs/gh-pages/index.html
echo "<a href='/tomcat-webapp-boilerplate/snyk-container/snyk-container.json'>Snyk Container Report</a>" >> ./docs/gh-pages/index.html
echo "<a href='/tomcat-webapp-boilerplate/nmap/vulner-output.log'>Nmap Vulnerabilities Report</a>" >> ./docs/gh-pages/index.html
echo "<a href='/tomcat-webapp-boilerplate/nmap/direct-output.log'>Nmap Direct Report</a>" >> ./docs/gh-pages/index.html
Expand All @@ -88,7 +88,7 @@ jobs:
- name: Copy wapiti report to docs/gh-pages/nmap
# requires sudo as docker container creating those files runs as root
run: |
sudo mv ./.wapiti/generated_reports/* ./docs/gh-pages/wapiti/
ls -d .wapiti/generated_report/local* | xargs -I {} sudo mv {} .wapiti/generated_report/out.html
# NOTE: for now, nmap deactivated as it possibly exposes github vulns
# - name: Copy nmap report to docs/gh-pages/nmap
# # requires sudo as docker container creating those files runs as root
Expand Down

0 comments on commit f24cc82

Please sign in to comment.