Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
NikCharlebois committed Jun 16, 2023
1 parent 31e8c0a commit 053ecf0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change log for Microsoft365DSC

# UNRELEASED

* SCProtectionAlert
* Prevents extracting system rules.
FIXES [#3224](https://github.com/microsoft/Microsoft365DSC/issues/3224)

# 1.23.614.1

* AADApplication
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ function Export-TargetResource

try
{
[array]$Alerts = Get-ProtectionAlert -ErrorAction Stop
[array]$Alerts = Get-ProtectionAlert -ErrorAction Stop | Where-Object -FilterScript {-not $_.IsSystemRule}

$totalAlerts = $Alerts.Length
if ($null -eq $totalAlerts)
Expand Down

0 comments on commit 053ecf0

Please sign in to comment.