Skip to content

Open shares report

Go to Automation

View in GitLab

Description

This playbook generates and sends an email report listing open network shares across servers. It queries the NTFSexport SQL database for share and NTFS permissions and identifies shares with open or insecure permissions. The report includes detailed HTML tables and a CSV attachment, highlighting shares with open access and any changes since the last validation. The playbook is useful for regular security audits and compliance monitoring, ensuring that open shares are tracked and reviewed by administrators.

Credentials

  • sys_ansible_windows
  • sys_aapwin_serverdb

Input

Variable Description
tower_job_template_name Name of the automation template
email Recipient email address
domain_user Domain user for privilege escalation
domain_password Password for domain user

Output

  • HTML email report with open shares
  • CSV attachment with share details

Dependencies