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

bug(terraform): param enable_https_traffic_only now renamed to https_traffic_only_enabled #7239

Open
mcm-ham opened this issue Aug 14, 2024 · 2 comments
Labels
azure PR related with Azure Cloud bug Something isn't working community Community contribution query New query feature terraform Terraform query

Comments

@mcm-ham
Copy link

mcm-ham commented Aug 14, 2024

The https://docs.kics.io/latest/queries/terraform-queries/azure/12944ec4-1fa0-47be-8b17-42a034f937c2/ rule is checking for enable_https_traffic_only when the property is now deprecated and should be using https_traffic_only_enabled https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/storage_account which results in the kics rule being flagged.

@mcm-ham mcm-ham added bug Something isn't working community Community contribution labels Aug 14, 2024
@github-actions github-actions bot added query New query feature terraform Terraform query azure PR related with Azure Cloud labels Aug 14, 2024
@hilariocoelho
Copy link

Also facing this issue. Would be great to have a new version of queries library! 😃

@julienLemarie
Copy link

julienLemarie commented Oct 17, 2024

Hello,

Same issue:

resource "azurerm_storage_account" "***" {
...
  https_traffic_only_enabled = true
...

Raise the Kics vulnerability:

Scanning with Keeping Infrastructure as Code Secure v2.1.3


Storage Account Not Forcing HTTPS, Severity: MEDIUM, Results: 1
Description: Storage Accounts should enforce the use of HTTPS
Platform: Terraform
CWE: 319
Learn more about this vulnerability: https://docs.kics.io/latest/queries/terraform-queries/azure/12944ec4-1fa0-47be-8b17-42a034f937c2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
azure PR related with Azure Cloud bug Something isn't working community Community contribution query New query feature terraform Terraform query
Projects
None yet
Development

No branches or pull requests

3 participants