Skip to content

Commit

Permalink
Added nightly CVE scanner for the release version.
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchell-as committed Aug 27, 2024
1 parent bd82284 commit 61d6cb9
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/scan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Scan

on:
schedule:
- cron: 0 0 * * *

jobs:
scan:
runs-on: ubuntu-latest

steps:
- name: Install State Tool
uses: ActiveState/setup-state-tool@v1

- name: Get State Tool binaries path
id: get_bin_dir
shell: bash
run: |
exe=`which state`
dir=`dirname $exe`
echo "STATE_TOOL_BIN_DIR=$dir" >> "$GITHUB_OUTPUT"
- name: Scan binaries
uses: aquasecurity/[email protected]
with:
scan-type: rootfs
scan-ref: ${{ steps.get_bin_dir.outputs.STATE_TOOL_BIN_DIR }}
ignore-unfixed: true
format: table
exit-code: 1

0 comments on commit 61d6cb9

Please sign in to comment.