Fixing CIS testcases (#10296)

This relates to #9848
This commit is contained in:
Marcos Oviedo 2023-03-09 11:33:20 -03:00 committed by GitHub
parent 31235b1cbd
commit 469ce0f841
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 8 deletions

View file

@ -1,6 +1,6 @@
Expected scenario
==================
1) Open "Edit Group Policy" tool and set the following UI path to an empty value:
1) Open "Edit Group Policy" tool and set the following UI path to 'Administrators, LOCAL SERVICE, NETWORK SERVICE, SERVICE':
'Computer Configuration\Policies\Windows Settings\Security Settings\Local Policies\User Rights Assignment\Create global objects'
2) After running the policy check, it should return 1 indicating that setting was properly set
@ -9,7 +9,7 @@ Expected scenario
Failure scenario
==================
1) Open "Edit Group Policy" tool and set the following UI path to a value other than an empty value:
1) Open "Edit Group Policy" tool and set the following UI path to a value other than 'Administrators, LOCAL SERVICE, NETWORK SERVICE, SERVICE':
'Computer Configuration\Policies\Windows Settings\Security Settings\Local Policies\User Rights Assignment\Create global objects'
2) After running the policy check, it should return nothing, indicating that setting was set to a non-compliant value

View file

@ -1,7 +1,7 @@
Expected scenario
==================
1) Open "Edit Group Policy" tool and set the following UI path to an empty value:
'Computer Configuration\Policies\Windows Settings\Security Settings\Local Policies\User Rights Assignment\Create global objects'
'Computer Configuration\Policies\Windows Settings\Security Settings\Local Policies\User Rights Assignment\Create permanent shared objects'
2) After running the policy check, it should return 1 indicating that setting was properly set
@ -10,6 +10,6 @@ Expected scenario
Failure scenario
==================
1) Open "Edit Group Policy" tool and set the following UI path to a value other than an empty value:
'Computer Configuration\Policies\Windows Settings\Security Settings\Local Policies\User Rights Assignment\Create global objects'
'Computer Configuration\Policies\Windows Settings\Security Settings\Local Policies\User Rights Assignment\Create permanent shared objects'
2) After running the policy check, it should return nothing, indicating that setting was set to a non-compliant value

View file

@ -1,7 +1,7 @@
Expected scenario
==================
1) Open "Edit Group Policy" tool and set the following UI path to an empty list:
'Computer Configuration\Policies\Windows Settings\Security Settings\Local Policies\User Rights Assignment\Create permanent shared objects'
1) Open "Edit Group Policy" tool and set the following UI path to 'Administrators or NT VIRTUAL MACHINE\Virtual Machines':
'Computer Configuration\Policies\Windows Settings\Security Settings\Local Policies\User Rights Assignment\Create symbolic links'
2) After running the policy check, it should return 1 indicating that setting was properly set
@ -9,7 +9,7 @@ Expected scenario
Failure scenario
==================
1) Open "Edit Group Policy" tool and set the following UI path to a value other than an empty list:
'Computer Configuration\Policies\Windows Settings\Security Settings\Local Policies\User Rights Assignment\Create permanent shared objects'
1) Open "Edit Group Policy" tool and set the following UI path to a value other than 'Administrators or NT VIRTUAL MACHINE\Virtual Machines':
'Computer Configuration\Policies\Windows Settings\Security Settings\Local Policies\User Rights Assignment\Create symbolic links'
2) After running the policy check, it should return nothing, indicating that setting was set to a non-compliant value