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

Support terraform multi-hop connections #3886

Closed
gruebel opened this issue Nov 15, 2022 · 1 comment
Closed

Support terraform multi-hop connections #3886

gruebel opened this issue Nov 15, 2022 · 1 comment

Comments

@gruebel
Copy link
Contributor

gruebel commented Nov 15, 2022

Describe the issue
Create cross-variables edges between resources when building terraform graph (based on the variable rendering).

in the _build_edges step - try to mark the resources that have an out edge to variable/local/etc in order to search for cross-variable edges only for these resources.

add a _build_cross_variable_edges step after the variable rendering (add to the graph only edges that didn’t exist before).

mark the cross-variable edges label with a prefix of [cross-variable]

Add env variable in checkov (CHECKOV_EXPERIMENTAL_CROSS_VARIABLE_EDGES) for enabling the new logic

@gruebel
Copy link
Contributor Author

gruebel commented Jan 20, 2023

Added via #3920

@gruebel gruebel closed this as completed Jan 20, 2023
@github-project-automation github-project-automation bot moved this from 🍻 In progress to 🚀 Done in checkov Jan 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🚀 Done
Development

No branches or pull requests

2 participants