feat(misconf): export raw Terraform data to Rego #8877
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
scan/misconfiguration
Issues relating to misconfiguration scanning
Milestone
Description
Currently, Terraform configurations and other sources (CloudFormation, ARM, AWS Cloud, etc.) are converted into a common structure that is passed to Rego as input. This reduces the number of checks as there is no need to write separate checks for each provider. For example, the same AWS resources can be defined using Terraform or CloudFormation.
However, this approach has limitations:
Users have experienced an inability to implement checks:
Solution:
Add the ability to pass a
raw
configuration with little or no changes to Rego. At the first stage, the implementation will be only for Terraform, as it is the one that received requests from users. The architecture should be extensible to support other configuration formats in the future.Planned changes:
terraform
at first) that are exported to Rego in raw form.The text was updated successfully, but these errors were encountered: