fix: 2.1.2 simplified output and added object comment

This commit is contained in:
DrIOS
2024-06-28 19:43:11 -05:00
parent 712077b8f1
commit 73c1ecf30e
2 changed files with 22 additions and 22 deletions

View File

@@ -222,6 +222,12 @@ function Get-CISExoOutput {
# Condition A: The Common Attachment Types Filter is enabled in the Microsoft 365 Security & Compliance Center.
# Condition B: Using Exchange Online PowerShell, verify that the `EnableFileFilter` property of the default malware filter policy is set to `True`.
# Retrieve the attachment filter policy
# $attachmentFilter Mock Object
<#
$attachmentFilter = [PSCustomObject]@{
EnableFileFilter = $true
}
#>
$attachmentFilter = Get-MalwareFilterPolicy -Identity Default | Select-Object EnableFileFilter
$result = $attachmentFilter.EnableFileFilter
# [bool]