This repository was archived by the owner on Jun 13, 2023. It is now read-only.
This repository was archived by the owner on Jun 13, 2023. It is now read-only.
Test-Compliance on Windows 2016 #39
Open
Description
Test-Compliance on Windows 2016 with the audit file: DISA_STIG_Server_2016_v1r1.audit returns the following error.
Cannot validate argument on parameter 'checkType'. The argument CHECK_REGEX does not belong...
FAILED windows Server 2016 is not installed on this system or the Remote Registry service is disabled on the target.
I am thinking that this is because the audit file calls for CHECK_REGEX and the Compliance.psm1 only supports the audit items:
Script currently supports following audit items:
ANONYMOUS_SID_SETTING
AUDIT_POLICY_SUBCATEGORY
AUDIT_POWERSHELL
CHECK_ACCOUNT
FILE_CHECK
FILE_PERMISSIONS
FILE_VERSION
LOCKOUT_POLICY
PASSWORD_POLICY
REG_CHECK
REGISTRY_PERMISSIONS
REGISTRY_SETTING
REPORT
SERVICE_POLICY
USER_RIGHTS_POLICY