diff options
author | Davin Taddeo <davin@chef.io> | 2020-06-17 15:22:30 -0400 |
---|---|---|
committer | Davin Taddeo <davin@chef.io> | 2020-06-17 15:22:30 -0400 |
commit | e5d508d7db4ed383b5b314275d4ba01480bb8fad (patch) | |
tree | 25906ff4022c4846f1e6652ccd5b090e64fd856e | |
parent | e5c34489437ec35cce8fbab26f0cc1e30b790941 (diff) | |
download | chef-e5d508d7db4ed383b5b314275d4ba01480bb8fad.tar.gz |
update the list of allowed policies for the windows_security_policy resource
Signed-off-by: Davin Taddeo <davin@chef.io>
-rw-r--r-- | lib/chef/resource/windows_security_policy.rb | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/lib/chef/resource/windows_security_policy.rb b/lib/chef/resource/windows_security_policy.rb index ffcbb8d139..652ef74f98 100644 --- a/lib/chef/resource/windows_security_policy.rb +++ b/lib/chef/resource/windows_security_policy.rb @@ -25,21 +25,23 @@ class Chef # The valid policy_names options found here # https://github.com/ChrisAWalker/cSecurityOptions under 'AccountSettings' - policy_names = %w{MinimumPasswordAge - MaximumPasswordAge - MinimumPasswordLength - PasswordComplexity - PasswordHistorySize - LockoutBadCount - RequireLogonToChangePassword - ForceLogoffWhenHourExpire - NewAdministratorName - NewGuestName - ClearTextPassword - LSAAnonymousNameLookup - EnableAdminAccount - EnableGuestAccount - } + policy_names = %w{LockoutDuration + MaximumPasswordAge + MinimumPasswordAge + MinimumPasswordLength + PasswordComplexity + PasswordHistorySize + LockoutBadCount + ResetLockoutCount + RequireLogonToChangePassword + ForceLogoffWhenHourExpire + NewAdministratorName + NewGuestName + ClearTextPassword + LSAAnonymousNameLookup + EnableAdminAccount + EnableGuestAccount + } description "Use the **windows_security_policy** resource to set a security policy on the Microsoft Windows platform." introduced "16.0" |