You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add-CippTestResult-TenantFilter $Tenant-TestId 'ORCA242'-TestType 'Identity'-Status 'Skipped'-ResultMarkdown 'No protection alert data found. This may be due to missing required licenses or data collection not yet completed.'-Risk 'Medium'-Name 'Important protection alerts enabled'-UserImpact 'Low'-ImplementationEffort 'Medium'-Category 'Configuration'
13
+
return
14
+
}
15
+
16
+
# ORCA-242: alerts that drive Automated Incident Response (AIR).
17
+
# Alerts not present in the tenant are skipped (Microsoft hasn't deployed them).
18
+
$ImportantAlerts=@(
19
+
'A potentially malicious URL click was detected'
20
+
'Teams message reported by user as security risk'
21
+
'Email messages containing phish URLs removed after delivery'
22
+
'Suspicious Email Forwarding Activity'
23
+
'Malware not zapped because ZAP is disabled'
24
+
'Phish delivered due to an ETR override'
25
+
'Email messages containing malicious file removed after delivery'
26
+
'Email reported by user as malware or phish'
27
+
'Email messages containing malicious URL removed after delivery'
28
+
'Email messages containing malware removed after delivery'
29
+
'A user clicked through to a potentially malicious URL'
30
+
'Email messages from a campaign removed after delivery'
if ($FailedAlerts.Count-eq0-and$PassedAlerts.Count-eq0) {
50
+
$Status='Skipped'
51
+
$Result= [System.Text.StringBuilder]::new('None of the AIR-related protection alerts are deployed to this tenant. This may indicate missing Defender for Office 365 licensing.')
52
+
} elseif ($FailedAlerts.Count-eq0) {
53
+
$Status='Passed'
54
+
$Result= [System.Text.StringBuilder]::new("All AIR-related protection alerts deployed to this tenant are enabled.`n`n")
$null=$Result.Append("`n**Remediation:** Re-enable these alert policies. Automated Incident Response (AIR) triggers from them and cannot function correctly when they are disabled.")
0 commit comments