Skip to content

mitre/Windows-2016-STIG

 
 

Repository files navigation

Windows Server 2016 DISA STIG

Configure a Windows Server 2016 system to be DISA STIG compliant. All findings will be audited by default. Non-disruptive CAT I, CAT II, and CAT III findings will be corrected by default.

This role is based on Windows Server 2016 DISA STIG: Version 1, Rel 12 released on June 17, 2020.

Requirements

Windows Server 2016 - Other versions are not supported.

Dependencies

The following packages must be installed on the controlling host/host where ansible is executed:

  • passlib (or python2-passlib, if using python2)
  • python-lxml
  • python-jmespath
  • pywinrm

Role Variables

Please see the Ansible docs for understanding variable precedence to tailor for your needs.

Name Default Value Description
win2016stig_cat1_patch yes see defaults/main.yml](./defaults/main.yml) Correct CAT I findings
win2016stig_cat2_patch yes see defaults/main.yml](./defaults/main.yml) Correct CAT II findings
win2016stig_cat3_patch yes see defaults/main.yml](./defaults/main.yml) Correct CAT III findings
wn16_##_###### see defaults/main.yml Individual variables to enable/disable each STIG ID.

Example Playbook

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

- Name: Configure Windows Server 2016 System
  hosts: servers
  vars_files:
    - vars.yml
  roles:
     - role: Windows-2016-STIG
       when:
            - ansible_os_family == 'Windows'
            - ansible_distribution | regex_search('(Server 2016)')

About

STIG Baseline Ansible Role for Windows 2016

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published