terrascan
terrascan copied to clipboard
remove scan error section or give enabling all iac type scan flag
remove scan errors when user provide iac type ! and give option to enable all iac its useful for GitHub users or scanning all resources
terrascan scan -i terraform
Scan Errors -
IaC Type : terraform
Directory : /Users/sangam/Documents/GitHub/terrascan-gitaction-demo/test_dirs
Error Message : directory '/Users/sangam/Documents/GitHub/terrascan-gitaction-demo/test_dirs' has no terraform config files
-----------------------------------------------------------------------
IaC Type : terraform
Directory : /Users/sangam/Documents/GitHub/terrascan-gitaction-demo/test_dirs/custom-policies
Error Message : directory '/Users/sangam/Documents/GitHub/terrascan-gitaction-demo/test_dirs/custom-policies' has no terraform config files
-----------------------------------------------------------------------
IaC Type : terraform
Directory : /Users/sangam/Documents/GitHub/terrascan-gitaction-demo/test_dirs/fail/config
Error Message : directory '/Users/sangam/Documents/GitHub/terrascan-gitaction-demo/test_dirs/fail/config' has no terraform config files
-----------------------------------------------------------------------
IaC Type : terraform
Directory : /Users/sangam/Documents/GitHub/terrascan-gitaction-demo/test_dirs/fail/modules
Error Message : directory '/Users/sangam/Documents/GitHub/terrascan-gitaction-demo/test_dirs/fail/modules' has no terraform config files
-----------------------------------------------------------------------
IaC Type : terraform
Directory : /Users/sangam/Documents/GitHub/terrascan-gitaction-demo/test_dirs/fail/modules/kubernetes/templates
Error Message : directory '/Users/sangam/Documents/GitHub/terrascan-gitaction-demo/test_dirs/fail/modules/kubernetes/templates' has no terraform config files
-----------------------------------------------------------------------
That's something new and very annoying. Is there any option to suppress this type of messages?