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

@@ -66,9 +66,6 @@ function Test-AntiPhishingPolicy {
Status = if ($isCompliant) { "Pass" } else { "Fail" }
Details = $details
FailureReason = $failureReasons
RecDescription = "Ensure that an anti-phishing policy has been created"
CISControl = "9.7"
CISDescription = "Deploy and Maintain Email Server Anti-Malware Protections"
}
# Create and populate the CISAuditResult object