Sha256: 5522ceb01386554eb82cb0efd2c6b5cb46aa1084464dff854b7c6dccba0fa0be

Contents?: true

Size: 1.11 KB

Versions: 16

Compression:

Stored size: 1.11 KB

Contents

name: OWASP ZAP daily scan

on:
  schedule:
    # cron format: 'minute hour dayofmonth month dayofweek'
    # this will run at noon UTC every day (7am EST / 8am EDT)
    - cron: '0 12 * * *'

jobs:
  owasp-scan:
    name: OWASP ZAP Scan
    runs-on: ubuntu-latest
    services:
      postgres:
        image: postgres
        options: >-
          --health-cmd pg_isready
          --health-interval 10s
          --health-timeout 5s
          --health-retries 5
        ports: ["5432:5432"]
        env:
          POSTGRES_DB: <%= app_name %>_test
          POSTGRES_USER: cidbuser
          POSTGRES_PASSWORD: postgres

    steps:
      - uses: actions/checkout@v2

      - id: setup
        uses: ./.github/actions/setup-project

      - uses: ./.github/actions/run-server
        with:
          database_url: ${{ steps.setup.outputs.database_url }}

      - name: Run OWASP Full Scan
        uses: zaproxy/action-full-scan@v0.3.0
        with:
          docker_name: 'owasp/zap2docker-weekly'
          target: 'http://localhost:3000/'
          fail_action: true
          rules_file_name: 'zap.conf'
          cmd_options: '-I'

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
rails_template_18f-0.8.2 lib/generators/rails_template18f/github_actions/templates/github/workflows/owasp-daily-scan.yml.tt
rails_template_18f-0.8.1 lib/generators/rails_template18f/github_actions/templates/github/workflows/owasp-daily-scan.yml.tt
rails_template_18f-0.8.0 lib/generators/rails_template18f/github_actions/templates/github/workflows/owasp-daily-scan.yml.tt
rails_template_18f-0.7.2 lib/generators/rails_template18f/github_actions/templates/github/workflows/owasp-daily-scan.yml.tt
rails_template_18f-0.7.1 lib/generators/rails_template18f/github_actions/templates/github/workflows/owasp-daily-scan.yml.tt
rails_template_18f-0.7.0 lib/generators/rails_template18f/github_actions/templates/github/workflows/owasp-daily-scan.yml.tt
rails_template_18f-0.6.0 lib/generators/rails_template18f/github_actions/templates/github/workflows/owasp-daily-scan.yml.tt
rails_template_18f-0.5.3 lib/generators/rails_template18f/github_actions/templates/github/workflows/owasp-daily-scan.yml.tt
rails_template_18f-0.5.2 lib/generators/rails_template18f/github_actions/templates/github/workflows/owasp-daily-scan.yml.tt
rails_template_18f-0.5.1 lib/generators/rails_template18f/github_actions/templates/github/workflows/owasp-daily-scan.yml.tt
rails_template_18f-0.5.0 lib/generators/rails_template18f/github_actions/templates/github/workflows/owasp-daily-scan.yml.tt
rails_template_18f-0.4.1 lib/generators/rails_template18f/github_actions/templates/github/workflows/owasp-daily-scan.yml.tt
rails_template_18f-0.4.0 lib/generators/rails_template18f/github_actions/templates/github/workflows/owasp-daily-scan.yml.tt
rails_template_18f-0.3.0 lib/generators/rails_template18f/github_actions/templates/github/workflows/owasp-daily-scan.yml.tt
rails_template_18f-0.2.0 lib/generators/rails_template18f/github_actions/templates/github/workflows/owasp-daily-scan.yml.tt
rails_template_18f-0.1.0 lib/generators/rails_template18f/github_actions/templates/github/workflows/owasp-daily-scan.yml.tt