CISOfy / lynis

Lynis - Security auditing tool for Linux, macOS, and UNIX-based systems. Assists with compliance testing (HIPAA/ISO27001/PCI DSS) and system hardening. Agentless, and installation optional.
https://cisofy.com/lynis/
GNU General Public License v3.0
13.51k stars 1.49k forks source link

FIRE-4508 - Portability, hardening and output #1561

Closed nser77 closed 1 month ago

nser77 commented 1 month ago

Hello, with this patch I solved the following issue raised by the community:

Thanks!

mboelen commented 1 month ago

Thanks, merged!

teoberi commented 1 month ago

Now lynis.log is more concise and clear.

2024-10-16 13:23:49 ==== 2024-10-16 13:23:49 Performing test ID FIRE-4508 (Check used policies of iptables chains) 2024-10-16 13:23:49 Info: sorting output 2024-10-16 13:23:49 Result: Found target 'ACCEPT' for chain 'INPUT' (table: filter) 2024-10-16 13:23:49 Hardening: assigned partial number of hardening points (1 of 3). Currently having 121 points (out of 177) 2024-10-16 13:23:49 Result: Found target 'DROP' for chain 'INPUT' (table: filter) 2024-10-16 13:23:49 Hardening: assigned maximum number of hardening points for this item (3). Currently having 124 points (out of 180) 2024-10-16 13:23:49 Info: sorting output 2024-10-16 13:23:49 Result: Found target 'ACCEPT' for chain 'INPUT' (table: security) 2024-10-16 13:23:49 Hardening: assigned partial number of hardening points (1 of 3). Currently having 121 points (out of 177) 2024-10-16 13:23:49 ====

nser77 commented 1 month ago

Yes