Skip to content

FMWK-453 Upgrade to aerospike-client-jdk8 version 8.1.2 #4

FMWK-453 Upgrade to aerospike-client-jdk8 version 8.1.2

FMWK-453 Upgrade to aerospike-client-jdk8 version 8.1.2 #4

Workflow file for this run

name: Snyk scan
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
snyk-security:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/maven@master
continue-on-error: true # To make sure that SARIF upload gets called
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
args: --all-projects --sarif-file-output=snyk.sarif
- name: Handle undefined security-severity
run: |
sed -i 's/"security-severity": "undefined"/"security-severity": "0"/g' snyk.sarif
- name: Check output file
id: out-file
run: |
if test -f "snyk.sarif"; then
echo "::set-output name=exists::true"; else
echo "::set-output name=exists::false"
fi
- name: Upload result to GitHub Code Scanning
if: steps.out-file.outputs.exists == 'true'
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: snyk.sarif