You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issues is that the registry for windows and inspec registry_key don't align on slashes, need to update the code to have:
variables to be added for gsub to work
keyvalue_netlogon = '\\\NETLOGON'
keyvalue_sysvol = '\\\SYSVOL'
in both describe statements
it { should have_property keyvalue_sysvol.gsub('\', '\\\\') }
its (keyvalue_sysvol.gsub('\', '\\\\')) { should cmp 'RequireMutualAuthentication=1, RequireIntegrity=1'}
The text was updated successfully, but these errors were encountered:
Issues is that the registry for windows and inspec registry_key don't align on slashes, need to update the code to have:
variables to be added for gsub to work
keyvalue_netlogon = '\\\NETLOGON'
keyvalue_sysvol = '\\\SYSVOL'
in both describe statements
it { should have_property keyvalue_sysvol.gsub('\', '\\\\') }
its (keyvalue_sysvol.gsub('\', '\\\\')) { should cmp 'RequireMutualAuthentication=1, RequireIntegrity=1'}
The text was updated successfully, but these errors were encountered: