turbot / steampipe-mod-terraform-gcp-compliance

Run compliance and security controls to detect Terraform GCP resources deviating from security best practices prior to deployment using Powerpipe and Steampipe.
https://hub.powerpipe.io/mods/turbot/terraform_gcp_compliance
Apache License 2.0
2 stars 0 forks source link

Use the `attributes_std` column from table `terraform_resource` instead of `arguments` for better support for terraform state files #41

Closed Subhajit97 closed 1 year ago

Subhajit97 commented 1 year ago

Currently, the controls use the argument column from table terraform_resource to get the resource attributes and perform the checks.

Based on the latest Terraform plugin changes, the plugin introduces 3 new columns for the table terraform_resource.

The compliance controls will use the newly added attributes_std column instead of argument for better support for the terraform state file.

Subhajit97 commented 1 year ago

Addressed in https://github.com/turbot/steampipe-mod-terraform-gcp-compliance/pull/42