add: refactor of object initialization

This commit is contained in:
DrIOS
2024-05-28 18:50:18 -05:00
parent cafcaf2671
commit b064f9f271
54 changed files with 17 additions and 180 deletions

View File

@@ -41,9 +41,6 @@ function Test-BlockMailForwarding {
Status = if ($forwardingBlocked) { "Pass" } else { "Fail" }
Details = $details
FailureReason = $failureReasons
RecDescription = "Ensure all forms of mail forwarding are blocked and/or disabled"
CISControl = "0.0"
CISDescription = "Explicitly Not Mapped"
}
$auditResult = Initialize-CISAuditResult @params
}