Skip to content

feat(misconf): use Terraform plan configuration to partially restore schema #9635

@nikpivkin

Description

@nikpivkin

In some cases, we parse JSON objects as blocks, so the key hidden-link: /app-insights-resource-id results in a syntactically invalid child block. We can use the configuration section in the Terraform plan to determine the schema and correctly restore blocks and attributes.

Discussed in #8007

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.scan/misconfigurationIssues relating to misconfiguration scanning

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions