log4j-detector
log4j-detector copied to clipboard
exit code 2 with OKAY status (v2021.12.20)
Hi,
with the new update to v2021.12.20 i received a exit code 2 with a OKAY jar, why?
-- github.com/mergebase/log4j-detector v2021.12.20 (by mergebase.com) analyzing paths (could take a while).
-- Note: specify the '--verbose' flag to have every file examined printed to STDERR.
/opt/unifi-6.5.55-1d0581c00d/lib/log4j-core-2.16.0.jar contains Log4J-2.x == 2.16.0 _OKAY_
Because it's best to upgrade to 2.17.0 !
I could change the exit codes for 2.15.0 to 15 and 2.16.0 to 16 - what do you think?
Or add an "--okay" option so that "2.15.0" is considered good enough and exits with a zero (but only when --okay is supplied)?
ahh cool, i think for me the "--okey" option is perfect :) Big Thanks for the fast answer.