-
-
Notifications
You must be signed in to change notification settings - Fork 241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Specifying TERRAFORM_KICS_ARGUMENTS
breaks kics
#1947
Comments
Please can you try the following config and paste the result ? TERRAFORM_KICS_ARGUMENTS: ["--minimal-ui", "--no-progress", "--type", "ansible"]
LOG_LEVEL: DEBUG |
I trimmed output a bit, but we can clearly see, that the order is wrong and
|
As a side note, it seems that this passes one file at once to
|
That's indeed not very optimized |
Sounds good, but what about the case when user would specify, for example, |
We'll see after my PR is merged ^^ |
Describe the bug
Adding any CLI args to
kics
causes it to fail.To Reproduce
Steps to reproduce the behavior:
TERRAFORM_KICS_ARGUMENTS: --minimal-ui --no-progress --type ansible
ENABLE_LINTERS: TERRAFORM_KICS
Screenshots
Check the last line.
Additional context
It seems like it iterates over every file in directory, but instead of passing path to file to scan, it passes first arg provided.
Running
kics
via standole docker image is fine:The text was updated successfully, but these errors were encountered: