mirror of https://github.com/CISOfy/lynis.git
add new test to test database
This commit is contained in:
parent
b2be7c160e
commit
38b6105c60
|
@ -419,6 +419,7 @@ TIME-3170:test:security:time::Check configuration files:
|
|||
TIME-3180:test:security:time::Report if ntpctl cannot communicate with OpenNTPD:
|
||||
TIME-3181:test:security:time::Check status of OpenNTPD time synchronisation
|
||||
TIME-3182:test:security:time::Check OpenNTPD has working peers
|
||||
TIME-3185:test:security:time::Check systemd-timesyncd synchronized time
|
||||
TOOL-5002:test:security:tooling::Checking for automation tools:
|
||||
TOOL-5102:test:security:tooling::Check for presence of Fail2ban:
|
||||
TOOL-5104:test:security:tooling::Enabled tests for Fail2ban:
|
||||
|
|
|
@ -584,7 +584,7 @@
|
|||
fi
|
||||
|
||||
|
||||
Register --test-no TIME-3185 --preqs-met "${PREQS_MET}" --weight L --network NO --category "time" --description "Check systemd-timesyncd synchronized time"
|
||||
Register --test-no TIME-3185 --preqs-met "${PREQS_MET}" --weight L --network NO --category "security" --description "Check systemd-timesyncd synchronized time"
|
||||
if [ ${SKIPTEST} -eq 0 ]; then
|
||||
if [ -e /run/systemd/timesync/synchronized ]; then
|
||||
FIND=$(( $(date +%s) - $(stat -L --format %Y /run/systemd/timesync/synchronized) ))
|
||||
|
|
Loading…
Reference in New Issue