Open nikpivkin opened 1 month ago
Trivy supports scanning Terraform modules that are outside the scan directory, but they cannot be skipped using the -skip-dirs, --skip-files flags. We need to filter the result based on the directories after scanning.
-skip-dirs, --skip-files
@knqyf263 Should we apply re-filtering only to misconfiguration results?
Trivy supports scanning Terraform modules that are outside the scan directory, but they cannot be skipped using the
-skip-dirs, --skip-files
flags. We need to filter the result based on the directories after scanning.Discussed in https://github.com/aquasecurity/trivy/discussions/7191