microsoft / StigRepo

Automated PowerSTIG Repository for Active Directory environments
38 stars 7 forks source link

MOF not generated after running New-SystemData #15

Closed coaldric closed 3 years ago

coaldric commented 3 years ago

Bug/Issue Description New-SystemData/ActiveDirectoryFunctions - Issue: In some cases, a meta mof will be generated but a mof is not. This is due to get-applicablestigs failing during new-systemdata so the data generated is incomplete. The fix is to make sure WMI Firewall rules are enabled on the remote systems, otherwise the WMI query will fail.

Reproduction Steps Steps to reproduce the behavior:

  1. Run New-SystemData
  2. Run Get-ApplicableSTIGs
  3. MetaMof created; Mof not created
JakeDean3631 commented 3 years ago

This is not a bug being that WinRM connectivity and proper permissions are prerequisites to using StigRepo to manage STIG Compliance. There is not an automated way to fix WinRM connectivity remotely, so this has to be viewed and understood as a prerequisite to using StigRepo.