terrascan icon indicating copy to clipboard operation
terrascan copied to clipboard

Error message scanning IaC Types

Open ArMyBoT opened this issue 2 years ago • 0 comments

  • terrascan version: 1.15.0
  • Operating System: W10

Description

I run the scan as I did with the previous versions e.g.: $terrascan scan --config-path $CONFIG_FILE

What I Did

IaC Type : **docker**

Directory : /builds/cloud/test

Error Message : **Dockerfile** not found in the directory /builds/cloud/test

...
IaC Type : **terraform**

Directory : /builds/cloud/test

Error Message : directory '/builds/cloud/test' has no terraform config files 

Essentially, the messages are always present and even with the same scanned code and the same cli options I never seen them in the previous versions and I have to use the more general scan options (without specifying IaC type and/or policy types). Any option to have these annoying messages suppressed?

ArMyBoT avatar May 17 '22 18:05 ArMyBoT