Prevent cloud misconfigurations and find vulnerabilities during build-time in infrastructure as code, container images and open source packages with Checkov by Bridgecrew.
Below is a concise technical summary of the changes proposed in this PR:
Revert changes related to the resource_type attribute in the Terraform module. This involves removing the wrap_reserved_attributes function and its usage across several files, including base_attribute_solver.py, attribute_names.py, and module.py. The test case test_module_with_resource_type_attribute is also removed from test_module.py. These changes restore the previous state before the feature was introduced.
<table><tr><th>Topic</th><th>Details</th><tr><td><a href=https://baz.co/changes/bridgecrewio/checkov/6843?tool=ast&topic=Attribute+Handling>Attribute Handling</a>
</td><td>Revert the handling of reserved attributes in the <code>BaseAttributeSolver</code> class by removing the <code>wrap_reserved_attributes</code> function and its usage.<details><summary>Modified files (2)</summary><ul><li>checkov/common/graph/graph_builder/graph_components/attribute_names.py</li>
User description
Reverts bridgecrewio/checkov#6830
Generated description
Below is a concise technical summary of the changes proposed in this PR:
Revert changes related to the
resource_type
attribute in the Terraform module. This involves removing thewrap_reserved_attributes
function and its usage across several files, includingbase_attribute_solver.py
,attribute_names.py
, andmodule.py
. The test casetest_module_with_resource_type_attribute
is also removed fromtest_module.py
. These changes restore the previous state before the feature was introduced.Latest Contributors(2)
Module
class related to altering reserved attributes, specifically theresource_type
.Modified files (1)
Latest Contributors(2)
test_module_with_resource_type_attribute
that was added to test theresource_type
attribute handling.Modified files (1)
Latest Contributors(2)