microsoft / DSCEA

DSC Environment Analyzer (DSCEA) is a simple implementation of PowerShell Desired State Configuration that uses the declarative nature of DSC to scan systems in an environment against a defined reference MOF file and generate compliance reports as to whether systems match the desired configuration.
https://microsoft.github.io/DSCEA
Other
199 stars 41 forks source link

Get-DSCEAreport gives you empty reports if your scan failed #71

Open canix1 opened 6 years ago

canix1 commented 6 years ago

Problem: A detailed report only contains Noncompliant settings. If the report is empty you expect all servers to be compliant. But if your scan failed for some reason and you automated the process you will not now weather you are compliant or your scan has errors.

Solution: Include the state of the input file in the report. If the XML is empty or has bad data.