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

fix: prevent assigning incorrect resource ID for sensitive variables with same name, type and at least one matching scope #605

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bshaik1
Copy link
Contributor

@bshaik1 bshaik1 commented Feb 15, 2024

Problem: When multiple sensitive variables with same name, type, description and different scope are created, if one of their scoping matches then the id of incorrect variable is being used to set the Resource ID.
Related to this issue: #212

Solving this by making sure all the scopes are also matched for sensitive variables so that appropriate variable id is assigned to Resource ID.

…that share same name, type and at least one matching scope.

Problem: When multiple sensitive variables with same name, type, description and different scope are created, if one of their scoping matches then the id of incorrect variable is being used to set the Resource ID.

Solving this by making sure all the scopes are also matched for sensitive variables so that appropriate variable id is assigned to Resource ID.
@bshaik1 bshaik1 marked this pull request as ready for review February 15, 2024 09:53
@zentron
Copy link
Contributor

zentron commented Feb 15, 2024

Thanks for this PR @bshaik1. we will review it over the next few days

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants