Skip to content

feat: Migrate ms-ledger microservice to EdgeX 3.0 #46

feat: Migrate ms-ledger microservice to EdgeX 3.0

feat: Migrate ms-ledger microservice to EdgeX 3.0 #46

Workflow file for this run

name: trivy code scan
on:
push:
branches:
- master
pull_request:
jobs:
trivy_scan:
name: trivy scan
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Run Trivy vulnerability scanner in fs mode
uses: aquasecurity/trivy-action@master
with:
scan-type: 'fs'
scan-ref: '.'
format: 'sarif'
output: 'trivy-results.sarif'
trivy-config: ./github/.trivyConf.yaml
- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: 'trivy-results.sarif'