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 expression for checking version #861

Closed
BernieWhite opened this issue Nov 21, 2021 · 0 comments · Fixed by #869
Closed

Add expression for checking version #861

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

Comments

@BernieWhite
Copy link
Member

BernieWhite commented Nov 21, 2021

Currently $Assert.Version is available within PowerShell rules but this should be may available to YAML/ JSON rules and selectors using expressions.

@BernieWhite BernieWhite added enhancement New feature or request feature: language Issues that affect language such keywords and variables labels Nov 21, 2021
@BernieWhite BernieWhite self-assigned this Dec 20, 2021
@BernieWhite BernieWhite modified the milestones: v2.0.0, v1.11.0 Dec 20, 2021
BernieWhite added a commit to BernieWhite/PSRule that referenced this issue Dec 20, 2021
BernieWhite added a commit that referenced this issue Dec 21, 2021
* Added version expression #861

* Added hasDefault expression #870
This was referenced Dec 30, 2021
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