Replies: 1 comment 1 reply
-
Hi @vmorkunas ! The files are detected and scanned (as can be seen in the logs), but no misconfigurations are found in them. We already have an issue with improving the configuration scan results message. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
I have multiple files in my directory:
lifecycle-policy-replication.tf lifecycle-policy.tf main.tf outputs.tf policies.tf repo-list.tf shared-ecrs.tf variables.tf
When I run this command inside this directory with all these present files -
trivy config -c trivy.yaml --output result.json ./
I get 1 config files detected and it is a strange one ("." file?):
my config file is pretty basic:
Debug seems to see those files, but it does not add to the scan.
Desired Behavior
It should scan 8 .tf files which are present in current directory
Actual Behavior
It scans none
Reproduction Steps
Target
None
Scanner
Misconfiguration
Output Format
JSON
Mode
Standalone
Debug Output
Operating System
macos sonoma 14.4.1 (23E224)
Version
Checklist
trivy image --reset
Beta Was this translation helpful? Give feedback.
All reactions