mirror of
https://github.com/inspec/inspec
synced 2024-11-10 15:14:23 +00:00
add NTLMMinServerSec test
This commit is contained in:
parent
a387d405bb
commit
25acd86c88
2 changed files with 9 additions and 0 deletions
|
@ -66,4 +66,9 @@ if node['platform_family'] == 'windows'
|
|||
action :create
|
||||
end
|
||||
|
||||
registry_key 'HKLM\System\CurrentControlSet\Control\Lsa\MSV1_0' do
|
||||
values [{ name: 'NTLMMinServerSec', type: :dword, data: 537_395_200 }]
|
||||
recursive true
|
||||
action :create
|
||||
end
|
||||
end
|
||||
|
|
|
@ -50,4 +50,8 @@ if os.windows?
|
|||
its('MinEncryptionLevel') { should eq 3 }
|
||||
end
|
||||
|
||||
describe registry_key('HKLM\System\CurrentControlSet\Control\Lsa\MSV1_0') do
|
||||
it { should exist }
|
||||
its('NtlmMinClientSec') { should eq 537_395_200 }
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue