Skip to content

Dynamic Rule Merger Fix #245

Dynamic Rule Merger Fix

Dynamic Rule Merger Fix #245

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