December 2017
Intermediate to advanced
364 pages
7h 30m
English
The following Ansible playbook is created based on https://github.com/alanrenouf/Windows-Workstation-and-Server-Audit, and it will perform an audit of the system and generates a detailed HTML report. This is an example of how we can perform an audit using the PowerShell script. This can be extended by adding more checks and also adding other security audits scripts.
The playbook looks as follows:
- name: Windows Audit Playbook hosts: winblows tasks: - name: download audit script win_get_url: url: https://raw.githubusercontent.com/alanrenouf/Windows-Workstation-and-Server-Audit/master/Audit.ps1 dest: C:\Audit.ps1 - name: running windows audit script win_shell: C:\Audit.ps1 args: chdir: C:\
Read now
Unlock full access