-
Notifications
You must be signed in to change notification settings - Fork 123
Network-25537 : Threat intelligence is Enabled in Deny Mode on Azure Firewall #780
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
d61ccee
7332dd6
551a8ae
6363e60
57ad827
e6b92cd
b3c8651
c3dca25
d6251a3
16d9ba2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,11 @@ | ||||||||||||||||||||||
| Azure Firewall Threat intelligence-based filtering alerts and denies traffic from/to known malicious IP addresses, FQDNs, and URLs. The IP addresses, domains, and URLs are sourced from the Microsoft Threat Intelligence feed, which includes multiple sources including the Microsoft Cyber Security team. When threat intelligence-based filtering is enabled, Azure Firewall evaluates traffic against the threat intelligence rules before applying NAT, network, or application rules. | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| This check verifies that Threat Intelligence feature is enabled in “Alert and Deny” mode in the Azure Firewall policy configuration. The check will fail if Threat Intelligence is either “Disabled” or if it is not configured in “Alert and Deny” mode, in the firewall policy attached to the firewall. | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| **Remediation action** | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| Please check this article for guidance on how to enable Threat Intelligence in “Alert and Deny” mode in the Azure Firewall Policy: | ||||||||||||||||||||||
|
Comment on lines
+3
to
+7
|
||||||||||||||||||||||
| This check verifies that Threat Intelligence feature is enabled in “Alert and Deny” mode in the Azure Firewall policy configuration. The check will fail if Threat Intelligence is either “Disabled” or if it is not configured in “Alert and Deny” mode, in the firewall policy attached to the firewall. | |
| **Remediation action** | |
| Please check this article for guidance on how to enable Threat Intelligence in “Alert and Deny” mode in the Azure Firewall Policy: | |
| This check verifies that Threat Intelligence feature is enabled in “Deny” mode in the Azure Firewall policy configuration. The check will fail if Threat Intelligence is either “Disabled” or if it is not configured in “Deny” mode, in the firewall policy attached to the firewall. | |
| **Remediation action** | |
| Please check this article for guidance on how to enable Threat Intelligence in “Deny” mode in the Azure Firewall Policy: |
kshitiz-prog marked this conversation as resolved.
Show resolved
Hide resolved
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,137 @@ | ||||||||||||||
|
|
||||||||||||||
| <# | ||||||||||||||
| .SYNOPSIS | ||||||||||||||
| Validates Threat intelligence is Enabled in Deny Mode on Azure Firewall. | ||||||||||||||
| .DESCRIPTION | ||||||||||||||
| This test validates that Azure Firewall Policies have Threat Intelligence enabled in Deny mode. | ||||||||||||||
| Checks all firewall policies in the subscription and reports their threat intelligence status. | ||||||||||||||
| .NOTES | ||||||||||||||
| Test ID: 25537 | ||||||||||||||
| Category: Azure Network Security | ||||||||||||||
| Required API: Azure Firewall Policies | ||||||||||||||
| #> | ||||||||||||||
|
|
||||||||||||||
| function Test-Assessment-25537 { | ||||||||||||||
| [ZtTest( | ||||||||||||||
| Category = 'Azure Network Security', | ||||||||||||||
| ImplementationCost = 'Low', | ||||||||||||||
| MinimumLicense = ('Azure_Firewall_Standard', 'Azure_Firewall_Premium'), | ||||||||||||||
| Pillar = 'Network', | ||||||||||||||
| RiskLevel = 'High', | ||||||||||||||
| SfiPillar = 'Protect networks', | ||||||||||||||
| TenantType = ('Workforce'), | ||||||||||||||
| TestId = 25537, | ||||||||||||||
| Title = 'Threat intelligence is Enabled in Deny Mode on Azure Firewall', | ||||||||||||||
| UserImpact = 'Low' | ||||||||||||||
| )] | ||||||||||||||
| [CmdletBinding()] | ||||||||||||||
| param() | ||||||||||||||
|
|
||||||||||||||
| Write-PSFMessage '🟦 Start' -Tag Test -Level VeryVerbose | ||||||||||||||
|
|
||||||||||||||
| #region Data Collection | ||||||||||||||
| $activity = 'Azure Firewall Threat Intelligence' | ||||||||||||||
kshitiz-prog marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||||||||
| Write-ZtProgress ` | ||||||||||||||
| -Activity $activity ` | ||||||||||||||
|
Comment on lines
+33
to
+35
|
||||||||||||||
| $activity = 'Azure Firewall Threat Intelligence' | |
| Write-ZtProgress ` | |
| -Activity $activity ` | |
| $activity = 'Azure Firewall Threat Intelligence' | |
| Write-ZtProgress ` | |
| -Activity $activity ` |
kshitiz-prog marked this conversation as resolved.
Show resolved
Hide resolved
kshitiz-prog marked this conversation as resolved.
Show resolved
Hide resolved
kshitiz-prog marked this conversation as resolved.
Show resolved
Hide resolved
kshitiz-prog marked this conversation as resolved.
Show resolved
Hide resolved
Copilot
AI
Jan 28, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The variable $allAlert is computed on line 103 but is never used in the subsequent code. This creates unnecessary maintenance burden. If this variable is intended for future use or debugging, consider removing it or documenting its purpose.
Uh oh!
There was an error while loading. Please reload this page.