Skip to content

Merge pull request #154 from USEPA/151-exposure-documentation #69

Merge pull request #154 from USEPA/151-exposure-documentation

Merge pull request #154 from USEPA/151-exposure-documentation #69

Workflow file for this run

name: Application-security-scan
on:
push:
branches: [ "dev", "staging" ]
jobs:
security-scan:
runs-on: ubuntu-latest
steps:
- name: Set up "x-api-key" as an environment variable
run: |
echo "x-api-key=${{ secrets.X_API_KEY }}" >> $GITHUB_ENV
- name: perform passive scan
uses: zaproxy/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
format: openapi
target: 'https://api-ccte-stg.epa.gov/docs/exposure.json'
cmd_options: '-a'
env:
ZAP_AUTH_HEADER_VALUE: "x-api-key=${{ secrets.X_API_KEY }}"