We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Description of the issue
There appears to be some inconsistencies handling some XML nodes/ elements in PowerShell assertions (YAML/ JSON) also need to be tested.
To Reproduce
Steps to reproduce the issue:
<policies><inbound><ip-filter action="allow"><address-range from="51.175.196.187" to="51.175.196.187" /></ip-filter></inbound><backend><base /></backend><outbound><base /></outbound><on-error><base /></on-error></policies>
The following code passes, but should not because the base element is not a child of inbound.
base
inbound
$Assert.HasField($policy, 'inbound.base')
Expected behaviour
PSRule
Module in use and version:
Additional context
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description of the issue
There appears to be some inconsistencies handling some XML nodes/ elements in PowerShell assertions (YAML/ JSON) also need to be tested.
To Reproduce
Steps to reproduce the issue:
The following code passes, but should not because the
base
element is not a child ofinbound
.Expected behaviour
PSRule
Module in use and version:
Additional context
The text was updated successfully, but these errors were encountered: