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

@@ -49,9 +49,6 @@ function Test-NotifyMalwareInternal {
Status = if ($result) { "Pass" } else { "Fail" }
Details = $details
FailureReason = $failureReasons
RecDescription = "Ensure notifications for internal users sending malware is Enabled"
CISControl = "17.5"
CISDescription = "Assign Key Roles and Responsibilities"
}
$auditResult = Initialize-CISAuditResult @params
}
@@ -60,4 +57,4 @@ function Test-NotifyMalwareInternal {
# Return the audit result
return $auditResult
}
}
}