Azure Firewall Quality improvements#13820
Merged
Merged
Conversation
Updated multiple Azure Firewall analytic rules and hunting queries. Changes include: adding entityMappings for IP/URL entities, adding customDetails and alertDetailsOverride to improve alert display and include contextual fields, refining queries to restrict time ranges to avoid full-table scans and renaming time variables for clarity, adding relevant MITRE technique IDs, switching some project-away to explicit project to preserve key fields, expanding descriptions (and adding description_detailed), and bumping rule versions. These updates improve alert context, reduce query cost, and help reduce false positives (e.g. configurable allowed common ports).
|
Hello how are you I am GitHub bot |
Update alert wording and bump rule versions for several Azure Firewall analytic rules. Adjusted the Abnormal Deny Rate for Source IP alert description to remove the explicit '{{Threshold}}' variable reference for clarity. Also incremented versions: Multiple Sources Affected by the Same TI Destination (1.1.4 → 1.1.5), Port Sweep (1.2.2 → 1.2.3), and SeveralDenyActionsRegistered (1.1.1 → 1.1.2).
Add Reconnaissance tactic and T1595.001 technique to Azure Firewall Port Scan and Port Sweep analytic rules. For Port Scan, add a KnownScannerIPs exclusion to reduce noise, include alertDetailsOverride (custom alert display name and description), and bump the rule version to 1.1.3. These changes provide better detection context and help reduce false positives.
Contributor
There was a problem hiding this comment.
Pull request overview
Improves Azure Firewall hunting queries and analytic rules by enriching entity mapping and alert context, adding MITRE technique coverage, and reducing query cost via tighter time filtering and clearer query structure.
Changes:
- Added
entityMappings,customDetails, andalertDetailsOverrideacross multiple detections to improve investigation context. - Updated MITRE technique IDs/tactics and refined queries (time windows, projections) to reduce scan cost and noise.
- Bumped rule/query versions and expanded some descriptions.
Reviewed changes
Copilot reviewed 11 out of 11 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| Solutions/Azure Firewall/Hunting Queries/Azure Firewall - Uncommon Port to IP.yaml | Expanded descriptions, added entity mappings and techniques, added version. |
| Solutions/Azure Firewall/Hunting Queries/Azure Firewall - Uncommon Port for Organization.yaml | Added techniques, entity mappings, version, and guidance comment for allowed ports. |
| Solutions/Azure Firewall/Hunting Queries/Azure Firewall - Source IP Abnormally Connects to Multiple Destinations.yaml | Updated tactics/techniques, switched to explicit projection, added entity mappings and version. |
| Solutions/Azure Firewall/Hunting Queries/Azure Firewall - First time source IP to Destination.yaml | Added techniques, entity mappings, and version. |
| Solutions/Azure Firewall/Hunting Queries/Azure Firewall - First Time Source IP to Destination Using Port.yaml | Added techniques, entity mappings, and version. |
| Solutions/Azure Firewall/Analytic Rules/SeveralDenyActionsRegistered.yaml | Added custom details and alert overrides; bumped version. |
| Solutions/Azure Firewall/Analytic Rules/Azure Firewall - Port Sweep.yaml | Added tactic/technique, custom details and alert overrides; bumped version. |
| Solutions/Azure Firewall/Analytic Rules/Azure Firewall - Port Scan.yaml | Added allowlist support, tactic/technique, alert overrides; bumped version. |
| Solutions/Azure Firewall/Analytic Rules/Azure Firewall - Multiple Sources Affected by the Same TI Destination.yaml | Simplified time window variables and added custom details; bumped version. |
| Solutions/Azure Firewall/Analytic Rules/Azure Firewall - Abnormal Port to Protocol.yaml | Added tactic/technique, reordered filters, and added custom details/alert overrides; bumped version. |
| Solutions/Azure Firewall/Analytic Rules/Azure Firewall - Abnormal Deny Rate for Source IP.yaml | Tightened union time filtering, updated techniques, changed projection, added custom details and alert overrides; bumped version. |
Bug fixes for Analytical Rules
v-shukore
approved these changes
May 6, 2026
v-atulyadav
approved these changes
May 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change(s):
Reason for Change(s):
Version Updated:
Testing Completed:
Checked that the validations are passing and have addressed any issues that are present: