log4jscanlinux
log4jscanlinux copied to clipboard
macOS grep does not have -P
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.