Skip to content

Using PowerSTIG with Hashicorp Packer #1551

@shannonfelice

Description

@shannonfelice

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions