Closed Andy-Adrian closed 3 years ago
Registry Value settings that accept an array do not enforce in the OS correctly when reg_type is not specified. Example:
local_security_policy { 'Network access: Remotely accessible registry paths': ensure => present policy_value => "System\\CurrentControlSet\\Control\\ProductOptions,System\\CurrentControlSet\\Control\\Server Applications,Software\\Microsoft\\Windows NT\\CurrentVersion" }
results in a "Not Defined" entry in the OS
local_security_policy { 'Network access: Remotely accessible registry paths': ensure => present policy_value => "7,System\\CurrentControlSet\\Control\\ProductOptions,System\\CurrentControlSet\\Control\\Server Applications,Software\\Microsoft\\Windows NT\\CurrentVersion" }
Results in the correct values in the OS
Resolved by PR (Value validation updates #90)
Registry Value settings that accept an array do not enforce in the OS correctly when reg_type is not specified. Example:
results in a "Not Defined" entry in the OS
Results in the correct values in the OS