Skip to content

Commit 3e35fe8

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

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.codacy/codacy.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
runtimes:
2-
- dart@3.7.2
32
- go@1.22.3
43
- java@17.0.10
54
- node@22.2.0
65
- python@3.11.11
6+
- dart@3.7.2
77
tools:
88
- codacy-enigma-cli@0.0.1-main.8.49310c3
99
- dartanalyzer@3.7.2
1010
- eslint@8.57.0
1111
- lizard@1.17.31
1212
- pmd@6.55.0
13-
- pylint@3.3.6
14-
- revive@1.7.0
13+
- pylint@3.3.7
14+
- revive@1.11.0
1515
- semgrep@1.78.0
1616
- trivy@0.65.0

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)