mfreshmen / ansible-role-log4shell

Find Log4Shell CVE-2021-44228 on your system

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ansible role - log4shell

Maintainer License Release Status Ansible version Ansible Galaxy

⭐ Star us on GitHub — it motivates us a lot!

Find Log4Shell CVE-2021-44228 on your system

This role tries to find jar and war from filesystem and from opened files (lsof)

⚠️ Your system may runs slowly during the scan

This role populates the variable log4shell_analyze_versions with a dictionary like this one: {"/tmp/rundeck.war": "2.13.2",}. The key is the path where the role has found the log4j library and the value is the log4j's version.

⚠️ Requirements

Ansible >= 4

⚡ Installation

ansible-galaxy install claranet.log4shell

⚙️ Role variables

Variable Default value Description
log4shell_scan_path / Filesystem path to scan

🔄 Dependencies

N/A

✏️ Example Playbook

---
- hosts: all
  roles:
    - role: claranet.log4shell
      log4shell_scan_path: /opt

©️ License

Mozilla Public License Version 2.0

About

Find Log4Shell CVE-2021-44228 on your system

License:Mozilla Public License 2.0


Languages

Language:Jinja 79.9%Language:Python 20.1%