kics
kics copied to clipboard
Kics different behavior on similar scans (using flag -t)
Expected Behavior
When running "kics scan -p sample.zip -o output" using (or not) the flag -t, kics must run the queries and create, if the scan is valid, a results.json
Actual Behavior
Kics generates a results.json if the flag -t was provided, otherwise, it will display "No files were scanned".
Steps to Reproduce the Problem
- Download the sample (or create an empty zip file).
- Execute kics scans 2 times using the attached sample (empty zip file):
-
kics scan -p sample.zip -o output1- will display "No Files were scanned" and it will not generate a results.json file.
-
kics scan -p sample.zip -o output2 -t terraform- will perform a scan with 0 results and it will generate a results.json file.
Specifications
- Version: N/A
- Platform: N/A
- Subsystem: N/A