Skip to content

Commit

Permalink
test: owasp reusable
Browse files Browse the repository at this point in the history
  • Loading branch information
marcellmueller committed Jul 25, 2023
1 parent d3e3602 commit 6fa10a3
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/owasp.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: zap-scan
on:
workflow_dispatch:
push:
jobs:
zap-scan:
uses: button-inc/button-shared-gh-actions/.github/workflows/scan-code-owasp-zap.yml@develop
with:
working-directory: ./app
target-url: 'http://localhost:3000/applicantportal'
1 change: 0 additions & 1 deletion .github/workflows/sonarcloud.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: sonarcloud-scan
on:
workflow_dispatch:
push:
jobs:
sonarcloud-scan:
uses: button-inc/button-shared-gh-actions/.github/workflows/scan-code-sonarcloud.yml@develop
Expand Down
10 changes: 1 addition & 9 deletions .github/workflows/test-containers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,7 @@ jobs:
- name: run app locally
uses: ./.github/actions/local-app-run
- name: ZAP Full Scan
uses: zaproxy/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
docker_name: 'owasp/zap2docker-stable'
target: 'http://localhost:3000/applicantportal'
rules_file_name: '.zap/rules.tsv'
cmd_options: '-a -d -T 5 -m 2'
issue_title: OWASP Full Scan
fail_action: true
uses: ./.github/workflows/owasp.yaml

trivy-scan-app:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 6fa10a3

Please sign in to comment.