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

Invoke-PSRule summary ignores outcome filter #33

Closed
BernieWhite opened this issue Dec 13, 2018 · 0 comments
Closed

Invoke-PSRule summary ignores outcome filter #33

BernieWhite opened this issue Dec 13, 2018 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@BernieWhite
Copy link
Member

Description of the issue
When using -As Summary with Invoke-PSRule output includes all summary results instead of only pass/ fail/ error results.

Additionally when using outcome filtering instead of the default filter. All results are returned.

To Reproduce
Steps to reproduce the behaviour:

@{ Name = 'test' } | Invoke-PSRule -As Summary -Outcome Fail;

Expected behaviour
Only results with the worst outcome of failed should be returned.

Module in use and version

  • Module: PSRule
  • Version: 0.1.0-B181235
@BernieWhite BernieWhite added the bug Something isn't working label Dec 13, 2018
@BernieWhite BernieWhite added this to the v0.1.0 milestone Dec 13, 2018
@BernieWhite BernieWhite self-assigned this Dec 13, 2018
BernieWhite added a commit that referenced this issue Dec 13, 2018
* Fix Invoke-PSRule summary ignores outcome filter #33
* Update issue report template
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant