⭐ 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)
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.
Ansible >= 4
ansible-galaxy install claranet.log4shell
Variable | Default value | Description |
---|---|---|
log4shell_scan_path | / | Filesystem path to scan |
N/A
---
- hosts: all
roles:
- role: claranet.log4shell
log4shell_scan_path: /opt