diff --git a/.github/workflows/az-security-scan.yml b/.github/workflows/az-security-scan.yml new file mode 100644 index 0000000000..fcbd27f290 --- /dev/null +++ b/.github/workflows/az-security-scan.yml @@ -0,0 +1,28 @@ + + # .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