Does anyone in the community have experience with running PoweSTIG during a VM image deployment using Packer? Particularly with the Azure plugin that requires WinRM to communicate between Packer and the build VM during the image build process. I am having to track down which rules specifically interrupt WinRM and skip them but am also finding myself having to hack PowerSTIG slightly during the build to keep the DSC resources that perform the various group policy and system refreshes from happening as to not kill the image build completely while I troubleshoot exactly all the rules for each OS and product being STIG'd which need to be skipped. If anyone has a list of V-ID's that should be skipped or some instructions\lessons learned that would be great. Also, if anyone is having any of the same issues with Packer or building Windows images and interested in having me share any of my instructions or lessons learned, please feel free to reach out.
Does anyone in the community have experience with running PoweSTIG during a VM image deployment using Packer? Particularly with the Azure plugin that requires WinRM to communicate between Packer and the build VM during the image build process. I am having to track down which rules specifically interrupt WinRM and skip them but am also finding myself having to hack PowerSTIG slightly during the build to keep the DSC resources that perform the various group policy and system refreshes from happening as to not kill the image build completely while I troubleshoot exactly all the rules for each OS and product being STIG'd which need to be skipped. If anyone has a list of V-ID's that should be skipped or some instructions\lessons learned that would be great. Also, if anyone is having any of the same issues with Packer or building Windows images and interested in having me share any of my instructions or lessons learned, please feel free to reach out.