Update aqua-cloud.yml #333
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Aqua Cloud | |
on: | |
push: | |
branches: [ main ] | |
schedule: | |
- cron: '15 21 * * 2' | |
jobs: | |
build: | |
name: Vulnerability Scan | |
runs-on: "ubuntu-24.04" | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
set-safe-directory: '/github/workspace' | |
- name: Ownership workaround | |
run: git config --system --add safe.directory '*' | |
- name: Run Trivy vulnerability scanner against Aqua Cloud | |
uses: aquasecurity/[email protected] | |
with: | |
scan-type: 'fs' | |
hide-progress: true | |
format: 'table' | |
scanners: 'vuln,config' | |
env: | |
AQUA_KEY: ${{ secrets.AQUA_KEY }} | |
AQUA_SECRET: ${{ secrets.AQUA_SECRET }} | |
TRIVY_RUN_AS_PLUGIN: 'aqua' | |