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

query(terraform): false positive - kms key policy #6707

Open
rdkls opened this issue Sep 7, 2023 · 1 comment
Open

query(terraform): false positive - kms key policy #6707

rdkls opened this issue Sep 7, 2023 · 1 comment
Labels
aws PR related with AWS Cloud community Community contribution query New query feature terraform Terraform query

Comments

@rdkls
Copy link

rdkls commented Sep 7, 2023

Platform

Terraform

Provider

AWS

Description

Query
7ebc9038-0bde-479a-acc4-6ed7b6758899
https://docs.kics.io/latest/queries/terraform-queries/aws/7ebc9038-0bde-479a-acc4-6ed7b6758899

Generates false positive when using Terraform's new way to attach KMS Key policies using aws_kms_key_policy resource instead of inline

@rdkls rdkls added community Community contribution query New query feature labels Sep 7, 2023
@github-actions github-actions bot added terraform Terraform query aws PR related with AWS Cloud labels Sep 7, 2023
@gabriel-cx gabriel-cx changed the title query(Terraform): false positive - kms key policy query(terraform): false positive - kms key policy Sep 7, 2023
@freitasmillena
Copy link
Contributor

Hi, @rdkls!

Thank you so much for contributing and helping to make KICS better :)
Can you please provide us the example file that generates false positive?
Also, if you want, feel free to collaborate to the issue by opening a PR and we will review as soon as possible!

Thank you,
KICS Team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aws PR related with AWS Cloud community Community contribution query New query feature terraform Terraform query
Projects
None yet
Development

No branches or pull requests

2 participants