Dynamic Rule Merger Fix #245
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Vulnerability Scan | |
on: pull_request_target | |
jobs: | |
security: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
with: | |
ref: ${{ github.head_ref }} | |
- run: docker build -t privado-core-oss -f Dockerfile --build-arg JAR_VERSION="dev-SNAPSHOT" --build-arg GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} . | |
- name: Run Snyk to check for vulnerabilities | |
uses: snyk/actions/docker@master | |
env: | |
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} | |
with: | |
image: privado-core-oss | |
args: --severity-threshold=low --policy-path=.snyk |