Skip to content

Commit

Permalink
Create scan.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
EthanShimookaContrast authored Jul 9, 2024
1 parent 0bf8997 commit 544f7be
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/scan.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Scan with local scanner

on:
pull_request:
branches:
- master
push:
branches:
- master

permissions:
contents: read
checks: write

jobs:
scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: Contrast-Security-OSS/contrast-local-scan-action@v1.0.0
with:
apiUrl: ${{ secrets.CONTRAST__API__URL }}
apiUserName: ${{ secrets.CONTRAST__API__USER_NAME }}
apiKey: ${{ secrets.CONTRAST__API__API_KEY }}
apiServiceKey: ${{ secrets.CONTRAST__API__SERVICE_KEY }}
apiOrgId: ${{ secrets.CONTRAST__API__ORGANIZATION }}
checks: true
severity: high

0 comments on commit 544f7be

Please sign in to comment.