kics scan fails with 130 error when scanning a file over 5MB
Abstract
IaC scan times out after returning 130 error from kics analyzer scanning files over 5MB
Version
v4.1.13
How to reproduce
scan a file larger than 5MB. In my own testing, scan erred with certain terraform providers (Kubernetes, Helm, Google, which could have exceeded the size limit of 5MB)
How it needs to be resolved
it should allow scanning files over 5MB
At least it should be as flexible as for users to tweak maximum size permitted for scanning
Work around
Pin anlalyzer to the previous version (I tested v4.1.11 and it worked fine)
Other notes
With KICS v1.7.12 you can now use the flag --max-file-size to set the max file size permitted for scanning. It defaults to 5MB, which could be a cause of this issue
Screenshot
Edited by Yohei Kawase
