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
add tfsec support #886
add tfsec support #886
Conversation
typo fix
@zuphzuph thanks for this PR! Can you add the relevant test cases as well? Thanks! |
Changed 'TFsec' to 'TERRAFORM_TFSEC'
@zuphzuph see https://github.com/github/super-linter/wiki/Adding-new-language-support for guidance about the tests. Let us know if you've questions :) |
should be good to go now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a few minor nits! Then we just have to wait for the checks to complete, and we should be good to go!
The builds are failing because PS: I was thinking of a way of getting rid of that special case altogether. If I were you, I'd implement a special case so that we can unblock this PR, without waiting for others. |
@@ -1194,6 +1195,7 @@ LINTER_COMMANDS_ARRAY['SQL']="sql-lint --config ${SQL_LINTER_RULES}" | |||
LINTER_COMMANDS_ARRAY['TEKTON']="tekton-lint" | |||
LINTER_COMMANDS_ARRAY['TERRAFORM']="tflint -c ${TERRAFORM_LINTER_RULES}" | |||
LINTER_COMMANDS_ARRAY['TERRAFORM_TERRASCAN']="terrascan scan -p /root/.terrascan/pkg/policies/opa/rego/ -t aws -f " | |||
LINTER_COMMANDS_ARRAY['TERRAFORM_TFSEC']="tfsec" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately, this is not enough because tfsec only supports linting whole directories. See my comment for more background
Fixes #693
Proposed Changes
Readiness Checklist
Author/Contributor
Reviewing Maintainer
breaking
if this is a large fundamental changeautomation
,bug
,documentation
,enhancement
,infrastructure
, orperformance