Skip to content

Commit 3e35fe8

Browse files
feature: trivy will now run with --detection-priority comprehensive CF-1835 (#168)
1 parent 945dc88 commit 3e35fe8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.codacy/codacy.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
runtimes:
2-
32
43
54
65
6+
77
tools:
88
99
1010
1111
1212
13-
14-
- revive@1.7.0
13+
14+
- revive@1.11.0
1515
1616

tools/trivyRunner.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99

1010
// RunTrivy executes Trivy vulnerability scanner with the specified options
1111
func RunTrivy(repositoryToAnalyseDirectory string, trivyBinary string, pathsToCheck []string, outputFile string, outputFormat string) error {
12-
cmd := exec.Command(trivyBinary, "fs")
12+
cmd := exec.Command(trivyBinary, "fs", "--detection-priority", "comprehensive")
1313

1414
// Add config file from tools-configs directory if it exists
1515
if configFile, exists := ConfigFileExists(config.Config, "trivy.yaml"); exists {

0 commit comments

Comments
 (0)