Skip to content

This Ansible role provides windows hardening configurations for the DevSec Windows baseline profile.

Notifications You must be signed in to change notification settings

vibrato/ansible-windows-hardening

 
 

Repository files navigation

windows-hardening (Ansible Role)

Build Status Gitter Chat Ansible Galaxy

Description

This roles provides a role for ensuring that a Windows 2012 R2 system is compliant with the DevSec Windows Baseline.

Requirements

  • Ansible 2.3.0

Variables

Name Default Value Description
TBD

Example Playbook

- hosts: localhost
  roles:
    - dev-sec.windows-hardening

Local Testing

For all our tests we use test-kitchen. If you are not familiar with test-kitchen please have a look at their guide.

We create multiple hosts - one linux host where Ansible runs on and the Windows hosts.

Next install test-kitchen:

# Install dependencies
gem install bundler
bundle install

Then you can run the playbook and tests:

# create the ansible and windows hosts
bundle exec kitchen create

# run ansible playbook on windows host
bundle exec kitchen converge default-ansibleserver

# verify windows machines
bundle exec kitchen verify windows

Contributing

See contributor guideline.

License and Author

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

This Ansible role provides windows hardening configurations for the DevSec Windows baseline profile.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%