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
Some controls may have an incorrect domain role condition. For example, in V-73495, the check text states:
This applies to member servers. For domain controllers and standalone systems, this is NA.
So the code should be:
domain_role=command('wmic computersystem get domainrole | Findstr /v DomainRole').stdout.stripif !(domain_role == '3')impact0.0describe'This control is not applicable as it only applies to member servers.'doskip'This control is not applicable as it only applies to member servers.'endelsedescriberegistry_key('HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System')doit{shouldhave_property'LocalAccountTokenFilterPolicy'}its('LocalAccountTokenFilterPolicy'){shouldcmp0}endend
Some controls may have an incorrect domain role condition. For example, in V-73495, the check text states:
So the code should be:
Reference for domain role values
Thanks @damif5 for catching this!
The text was updated successfully, but these errors were encountered: