Skip to content

Role based access on admin panel #625

Role based access on admin panel

Role based access on admin panel #625

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: Run trivy-scan on code base
on: pull_request
jobs:
build:
name: Run trivy-scan on repo
runs-on: "ubuntu-latest"
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Run Trivy vulnerability scanner on repo
uses: aquasecurity/trivy-action@master
with:
scan-type: 'fs'
format: 'sarif'
output: 'trivy-results.sarif'
- name: Post results as comment
uses: github/codeql-action/upload-sarif@v1
with:
sarif_file: 'trivy-results.sarif'