Skip to content

Commit

Permalink
Fix scans
Browse files Browse the repository at this point in the history
  • Loading branch information
Polina Sheviakova committed Jun 14, 2024
1 parent 80beb24 commit b1c8b04
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 23 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/dast.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
name: DAST

on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]

jobs:
scan:
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: ZAP Scan
uses: zaproxy/action-baseline@v0.12.0
with:
target: 'https://www.zaproxy.org/'
#name: DAST
#
#on:
# push:
# branches: [ main, master ]
# pull_request:
# branches: [ main, master ]
#
#jobs:
# scan:
# runs-on: ubuntu-22.04
# steps:
# - name: Checkout code
# uses: actions/checkout@v4
#
# - name: ZAP Scan
# uses: zaproxy/action-baseline@v0.12.0
# with:
# target: 'https://www.zaproxy.org/'
9 changes: 5 additions & 4 deletions .github/workflows/sast.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
with:
scan-type: 'config'
format: 'table'
hide-progress: false
output: trivy-config.txt
hide-progress: true
output: 'trivy-config.txt'

- name: Publish Trivy Output to Summary
run: |
Expand All @@ -45,8 +45,9 @@ jobs:
with:
scan-type: 'fs'
format: 'table'
hide-progress: false
output: trivy-fs.txt
ignore-unfixed: true
output: 'trivy-fs.txt'
severity: 'LOW'

- name: Publish Trivy Output to Summary
run: |
Expand Down

0 comments on commit b1c8b04

Please sign in to comment.