dsccommunity / SecurityPolicyDsc

A wrapper around secedit.exe to configure local security policies
MIT License
177 stars 53 forks source link

Addition of minimum password length audit #166

Open mgreenegit opened 3 years ago

mgreenegit commented 3 years ago

There are several new policies available in new server versions missing from the psd1. I will attempt to make this easy by discovering the format where I can.

"Minimum_length_password_audit" = @{
        Value   = "MACHINE\System\CurrentControlSet\Control\SAM\MinimumPasswordLengthAudit"
        Section = 'Registry Values'
        Option  = @{
            String = "4," # + <NumberOfCharacters>
        }
    }