From db95d3876e13faef43a9fd13e1a3080c3b9705af Mon Sep 17 00:00:00 2001 From: Daniel Medina Date: Wed, 13 Nov 2024 13:31:48 -0500 Subject: [PATCH] fix hour conversion --- controls/SV-205624.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controls/SV-205624.rb b/controls/SV-205624.rb index d967a79..11368fc 100644 --- a/controls/SV-205624.rb +++ b/controls/SV-205624.rb @@ -1,7 +1,7 @@ # encoding: UTF-8 control 'SV-205624' do - title "Windows Server 2019 must automatically remove or disable temporary user accounts after #{input('temporary_account_period')} hours." + title "Windows Server 2019 must automatically remove or disable temporary user accounts after #{input('temporary_account_period')*24} hours." desc "If temporary user accounts remain active when no longer needed or for an excessive period, these accounts may be used to gain unauthorized access. To mitigate this risk, automated termination of all temporary accounts must be set upon account creation. Temporary accounts are established as part of normal account activation procedures when there is a need for short-term accounts without the demand for immediacy in account activation.