Skip to content

Create az-security-scan.yml #1

Create az-security-scan.yml

Create az-security-scan.yml #1

# .github/workflows/az-security-scan.yml
name: AZ-Security-Scan
on:
push:
branches:
- '*'
workflow_dispatch:
jobs:
armourzero_security_test_pre:
runs-on: ubuntu-latest
env:
AZ_API_KEY: "${{ secrets.AZ_TOKEN }}"
PROJECT_KEY: "OAxTNaHFVbWkemTtWaNgNhVfxRrcvJEi"
BRANCH_NAME: "${{ github.ref_name }}"
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: ArmourZero Security Test (Pre)
run: |
docker run -v "$(pwd):/app/wrk" --rm armourzero/pipe-scan:latest --apikey="$AZ_API_KEY" --projectkey="$PROJECT_KEY" --branch="$BRANCH_NAME" --repo="$GITHUB_REPOSITORY"
continue-on-error: true