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

Add support for type and name binding comparisons in expressions #810

Closed
BernieWhite opened this issue Sep 30, 2021 · 0 comments · Fixed by #811
Closed

Add support for type and name binding comparisons in expressions #810

BernieWhite opened this issue Sep 30, 2021 · 0 comments · Fixed by #811
Assignees
Labels
enhancement New feature or request feature: language Issues that affect language such keywords and variables
Milestone

Comments

@BernieWhite
Copy link
Member

Currently selectors and YAML-based rules are not able to read type (TargetType) and name (TargetName) binding context properties.

We often use these properties to evaluate rules that might be targeted to multiple object types.

Add support for these properties to be used within expressions.

@BernieWhite BernieWhite added enhancement New feature or request feature: language Issues that affect language such keywords and variables labels Sep 30, 2021
@BernieWhite BernieWhite added this to the v1.8.0 milestone Sep 30, 2021
@BernieWhite BernieWhite self-assigned this Sep 30, 2021
BernieWhite added a commit to BernieWhite/PSRule that referenced this issue Sep 30, 2021
@BernieWhite BernieWhite linked a pull request Sep 30, 2021 that will close this issue
7 tasks
@BernieWhite BernieWhite mentioned this issue Oct 7, 2021
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature: language Issues that affect language such keywords and variables
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant