-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
70c70cf
commit 59ec527
Showing
1 changed file
with
2 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,7 @@ jobs: | |
echo "deb https://aquasecurity.github.io/trivy-repo/deb $(lsb_release -sc) main" | sudo tee -a /etc/apt/sources.list.d/trivy.list | ||
sudo apt-get update | ||
sudo apt-get install trivy | ||
pwd | ||
- name: Scan files with Trivy | ||
run: | | ||
|
@@ -35,7 +36,7 @@ jobs: | |
cat body.txt >> email.txt | ||
sudo apt-get update | ||
sudo apt-get install -y mutt | ||
mutt -s "Trivy Scan Report" -a trivy-files.txt -- [email protected] < email.txt | ||
mutt -s "Trivy Scan Report" -a ./trivy-files.txt -- [email protected] < email.txt | ||
env: | ||
SMTP_SERVER: smtp.gmail.com | ||
SMTP_PORT: 587 | ||
|