Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add daily vulnerability scan #97

Merged
merged 2 commits into from
Dec 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Vulnerability scan

on:
schedule:
- cron: "44 16 * * *"
push:
pull_request:

jobs:
build:
name: Trivy fs scan
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Run trivy in fs mode
uses: aquasecurity/trivy-action@master
with:
scan-type: 'fs'
mykaul marked this conversation as resolved.
Show resolved Hide resolved
scan-ref: '.'
format: 'table'
exit-code: '1'
ignore-unfixed: false
severity: 'CRITICAL,HIGH,MEDIUM'
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@
<groupId>org.xerial.snappy</groupId>
<artifactId>snappy-java</artifactId>
<!-- should match version from drivers POM -->
<version>1.1.10.1</version>
<version>1.1.10.4</version>
</dependency>


Expand Down
Loading