Skip to content

Commit 6817608

Browse files
authored
BST-17950 Revert adding secret scanning to trivy-fs (#263)
The story that added this was aimed only at updating trivy-image since that's the only secret scanning we currently have for images. For source-code, without proper benchmarking, we don't want to offer trivy secret scanning as an alternative to gitleaks. Maybe it will come but not for now. This change will prevent the trivy-fs scans from bearing the "secrets" scan-type which shows up in the secret section of the scanner coverage.
1 parent 0b097b6 commit 6817608

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

scanners/boostsecurityio/trivy-fs/module.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ id: boostsecurityio/trivy-fs
44
name: Trivy (Filesystem scanning)
55
namespace: boostsecurityio/trivy-fs
66
scan_types:
7-
- secrets
87
- sca
98

109
config:
@@ -107,7 +106,7 @@ steps:
107106
TRIVY_ADDITIONAL_ARGS: ${TRIVY_ADDITIONAL_ARGS---ignore-unfixed}
108107
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db:2,ghcr.io/aquasecurity/trivy-db:2
109108
TRIVY_JAVA_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-java-db:1,ghcr.io/aquasecurity/trivy-java-db:1
110-
TRIVY_SCANNERS: vuln,secret
109+
TRIVY_SCANNERS: vuln
111110
run: >
112111
$SETUP_PATH/trivy fs
113112
${TRIVY_ADDITIONAL_ARGS}
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
import:
22
- boostsecurityio/sca-cve
3-
- boostsecurityio/stored-secrets

0 commit comments

Comments
 (0)