Skip to content

[artifact-manager,plugins,installer] (#305) Restructure Aria Automation components #151

[artifact-manager,plugins,installer] (#305) Restructure Aria Automation components

[artifact-manager,plugins,installer] (#305) Restructure Aria Automation components #151

Workflow file for this run

name: Trivy
on:
push:
branches:
- main
pull_request:
jobs:
build:
name: Run vulnerability scan
runs-on: ubuntu-22.04
env:
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db,aquasec/trivy-db,ghcr.io/aquasecurity/trivy-db
TRIVY_JAVA_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-java-db,aquasec/trivy-java-db,ghcr.io/aquasecurity/trivy-java-db
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run Trivy vulnerability scanner in fs mode
uses: aquasecurity/trivy-action@0.29.0
with:
scan-type: 'fs'
scan-ref: '.'
trivy-config: .github/trivy.yml
- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: 'trivy-results.sarif'