-
Notifications
You must be signed in to change notification settings - Fork 49
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
As 'Summary' option does not work #1702
Comments
Thanks for raising your first issue, the team appreciates the time you have taken 😉 |
Thanks @avernigora-clgx for raising an issue. The output you have in the screenshot is expected. In the summary view today passing rules are compacted into a single item for each resource and errored or failed rules are shown with details. In the detailed view, each passing or failing/ erroring rule is shown. While this is the current functionality, what would you like to see in future iterations to make this better? Also it's worth noting that With |
Perhaps in this case it is a good idea to update documentation, as I expected to se the summary table, as it is described in the doc |
But my personal feeling is that it would be great if smth like this worked $rx = assert-PSRule -InputPath .\hub\main.non-prod.bicepparam -Module 'PSRule.Rules.Azure' -Format File -Baseline 'Azure.Default' -As Summary -Option $option
$rx | where status -eq 'Failed' So I can work with these outputs as they were normal .net objects |
@avernigora-clgx For this, use As mentioned, With I think for the most part the docs shows Also both |
Description of the issue
-As Summary option does not work. It still produces the full output instead of the summary
To Reproduce
The text was updated successfully, but these errors were encountered: