Skip to content

Commit

Permalink
change -u to -a
Browse files Browse the repository at this point in the history
  • Loading branch information
gregnrobinson committed Nov 19, 2021
1 parent 30846bc commit 6095f2a
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/owasp-base.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
name: owasp-base-scan
env:
SCAN_TYPE: 'base'
TARGET_URL: http://www.itsecgames.com/
on:
#branches:
# -main
Expand Down Expand Up @@ -28,14 +31,12 @@ on:
# Every 6 months. '0 0 1 */6 *'
# Every Year. '0 0 1 1 *'
#- cron: '0 0 * * *'
env:
SCAN_TYPE: 'base'
TARGET_URL: http://www.itsecgames.com/

#Begin Job of scanning the website,
jobs:
zap_base:
runs-on: ubuntu-latest
if: ${SCAN_TYPE} == 'base'
if: env.SCAN_TYPE == 'base'
name: ZAP Base Scan
steps:
- name: ZAP Baseline Scan
Expand All @@ -49,7 +50,7 @@ jobs:
issue_title: OWAP Baseline
zap_full:
runs-on: ubuntu-latest
if: ${SCAN_TYPE} == 'full'
if: env.SCAN_TYPE == 'full'
name: ZAP Full Scan
steps:
- name: ZAP Full Scan
Expand Down

0 comments on commit 6095f2a

Please sign in to comment.