Skip to content

Commit

Permalink
execute trivy in quiet mode
Browse files Browse the repository at this point in the history
  • Loading branch information
PacoVK committed Oct 5, 2023
1 parent a192646 commit 37e0329
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public HashMap<String, List<SecurityFinding>> scanModule(FormData archive) {
File workingDirectory = archive.getCompressedFile().getParentFile();
String output = commandProcessor.runCommand(
workingDirectory,
"sh", "-c", "trivy config --format json --skip-policy-update .");
"sh", "-c", "trivy config --format json --skip-policy-update --quiet .");
TrivyReport rawSecurityReport;
try {
rawSecurityReport = mapper.readValue(output, TrivyReport.class);
Expand Down

0 comments on commit 37e0329

Please sign in to comment.