Skip to content
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

Rule lambdaNotEncryptedWithKms should not check for KMS when env vars are not being used #682

Closed
msnook opened this issue Apr 21, 2021 · 0 comments · Fixed by #827
Closed
Assignees
Labels
policy Issue concerning policy maintainers.

Comments

@msnook
Copy link

msnook commented Apr 21, 2021

  • terrascan version: Latest Docker image

Description

Some of my lambda functions do not use environment variables, so there is no need to define a kms_key_arn for the function to use. However, it appears as though Terrascan is always looking for kms_key_arn and fails the rule even if env vars are not being used. This forces me to have to skip the rule for that lambda function. It would be nice if this rule failed during the Terrascan only if kms_key_arn is absent and env vars are used.

@kanchwala-yusuf kanchwala-yusuf added the policy Issue concerning policy maintainers. label May 11, 2021
@gaurav-gogia gaurav-gogia linked a pull request May 31, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
policy Issue concerning policy maintainers.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants