The macOS grep command (BSD based) does not have a -P flag (perl regexp), so this part of the script (https://github.com/Qualys/log4jscanlinux/blob/344d45ed24ba056e6bc13b61dbc0475169b7507c/linux/log4j_findings.sh#L106) fails on macOS.
The macOS grep command (BSD based) does not have a -P flag (perl regexp), so this part of the script (
log4jscanlinux/linux/log4j_findings.sh
Line 106 in 344d45e