lynis

Security auditing tool to scan and harden Unix/Linux systems

brewmacoslinux
Try with needOr install directly
Source

About

Security and system auditing tool to harden systems

Commands

lynis

Examples

Run a full system security audit$ lynis audit system
Audit specific category (e.g., networking)$ lynis audit system --tests networking
Show detailed test information and results$ lynis show tests