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
When running the Invoke-PSRule command to output summary to a csv file, no result was exported apart from the headers.
To Reproduce
Steps to reproduce the issue:
Invoke-PSRule -InputPath .\*.json -Module PSRule.Rules.Azure -As Summary -OutputFormat Csv -OutputPath "resultsSummary.csv"
Expected behaviour
Expect to receive below output (albeit in CSV format) - this command was run to simulate the behavior with no outputformat defined.
Invoke-PSRule -InputPath .\*.json -Module PSRule.Rules.Azure -As Summary
RuleName Pass Fail Outcome -------- ---- ---- ------- Azure.Automation.EncryptVariables 2 0 Pass Azure.Automation.WebHookExpiry 2 0 Pass Azure.Resource.UseTags 39 40 Fail Azure.ResourceGroup.Name 1 0 Pass Azure.RBAC.UseGroups 0 1 Fail Azure.RBAC.LimitOwner 0 1 Fail Azure.RBAC.LimitMGDelegation 1 0 Pass Azure.RBAC.CoAdministrator 1 0 Pass Azure.RBAC.UseRGDelegation 0 1 Fail Azure.SecurityCenter.Contact 0 1 Fail Azure.SecurityCenter.Provisioning 0 1 Fail Azure.Monitor.ServiceHealth 0 1 Fail
Error output
Capture any error messages and or verbose messages with -Verbose.
There's no error message received with Verbose
Module in use and version:
Captured output from $PSVersionTable:
$PSVersionTable
Name Value ---- ----- PSVersion 5.1.18362.752 PSEdition Desktop PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...} BuildVersion 10.0.18362.752 CLRVersion 4.0.30319.42000 WSManStackVersion 3.0 PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1
Additional context
N/A
The text was updated successfully, but these errors were encountered:
@vicperdana Thanks for reporting this issue.
Sorry, something went wrong.
Fixed Csv output format with summary #486
eeefeda
Fixed Csv output format with summary #486 (#487)
a8079bf
BernieWhite
Successfully merging a pull request may close this issue.
Description of the issue
When running the Invoke-PSRule command to output summary to a csv file, no result was exported apart from the headers.
To Reproduce
Steps to reproduce the issue:
Expected behaviour
Expect to receive below output (albeit in CSV format) - this command was run to simulate the behavior with no outputformat defined.
Error output
Capture any error messages and or verbose messages with -Verbose.
There's no error message received with Verbose
Module in use and version:
Captured output from
$PSVersionTable
:Additional context
N/A
The text was updated successfully, but these errors were encountered: