diff options
author | Simon Biewald <simon@fam-biewald.de> | 2020-07-09 19:27:02 +0300 |
---|---|---|
committer | Simon Biewald <simon@fam-biewald.de> | 2020-07-09 19:27:02 +0300 |
commit | 38b6105c6061c01b7075a76c23a9e73a962692bf (patch) | |
tree | c4a0bd73dcaf31cfcf2748c36bcf49240af8d4a8 | |
parent | b2be7c160e865252d0c589089e444a259576904f (diff) |
add new test to test database
-rw-r--r-- | db/tests.db | 1 | ||||
-rw-r--r-- | include/tests_time | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/db/tests.db b/db/tests.db index 32347102..26fc8f87 100644 --- a/db/tests.db +++ b/db/tests.db @@ -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: diff --git a/include/tests_time b/include/tests_time index 1985aa44..1fb512ae 100644 --- a/include/tests_time +++ b/include/tests_time @@ -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) )) |