Skip to content

BugFIX - 25550 - flag as failed for a tenant that has no Azure Firewall#968

Merged
merill merged 4 commits intomainfrom
Bug-25550
Mar 13, 2026
Merged

BugFIX - 25550 - flag as failed for a tenant that has no Azure Firewall#968
merill merged 4 commits intomainfrom
Bug-25550

Conversation

@Manoj-Kesana
Copy link
Copy Markdown
Collaborator

@Manoj-Kesana Manoj-Kesana commented Feb 27, 2026

Fix #961

@Manoj-Kesana Manoj-Kesana self-assigned this Feb 27, 2026
@Manoj-Kesana Manoj-Kesana marked this pull request as ready for review March 2, 2026 08:20
@Manoj-Kesana Manoj-Kesana requested a review from merill March 2, 2026 08:21
@Manoj-Kesana Manoj-Kesana changed the title Bug - 25550 - flag as failed for a tenant that has no Azure Firewall BugFIX - 25550 - flag as failed for a tenant that has no Azure Firewall Mar 2, 2026
@Manoj-Kesana Manoj-Kesana added the ready for review PR is ready for review and merging label Mar 3, 2026
@alexandair alexandair requested a review from Copilot March 4, 2026 20:47
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adjusts Azure Network Security assessment test 25550 to avoid reporting a failure when no Azure Firewall Premium policies exist in the tenant/subscriptions.

Changes:

  • Replaces the “❌ No Azure Firewall Premium policies found…” failure output with a NotApplicable skip path.
  • Adds a verbose diagnostic message and returns early when no Premium policies are discovered.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Comment thread src/powershell/tests/Test-Assessment.25550.ps1 Outdated
@Manoj-Kesana Manoj-Kesana requested a review from alexandair March 5, 2026 03:58
Copy link
Copy Markdown
Collaborator

@alexandair alexandair left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Manoj-Kesana Please, address my feedback.

As we are already changing this test, should we replace Invoke-AzRestMethod with ARG query like we do for other similar tests?

Comment thread src/powershell/tests/Test-Assessment.25550.ps1 Outdated
@Manoj-Kesana Manoj-Kesana marked this pull request as draft March 6, 2026 07:55
@Manoj-Kesana Manoj-Kesana removed the ready for review PR is ready for review and merging label Mar 6, 2026
@Manoj-Kesana Manoj-Kesana marked this pull request as ready for review March 10, 2026 04:00
@Manoj-Kesana Manoj-Kesana added the ready for review PR is ready for review and merging label Mar 10, 2026
@Manoj-Kesana Manoj-Kesana requested a review from alexandair March 10, 2026 04:01
Copy link
Copy Markdown
Collaborator

@alexandair alexandair left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Manoj-Kesana Please, address my feedback.

Comment thread src/powershell/tests/Test-Assessment.25550.ps1 Outdated
Comment thread src/powershell/tests/Test-Assessment.25550.ps1
Comment thread src/powershell/tests/Test-Assessment.25550.ps1
@Manoj-Kesana Manoj-Kesana requested a review from alexandair March 12, 2026 03:04
Copy link
Copy Markdown
Collaborator

@alexandair alexandair left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Manoj-Kesana Please, address my feedback.

Comment thread src/powershell/tests/Test-Assessment.25550.ps1
@alexandair alexandair self-requested a review March 13, 2026 07:25
Copy link
Copy Markdown
Collaborator

@alexandair alexandair left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@merill merill merged commit 79be64c into main Mar 13, 2026
4 checks passed
@Manoj-Kesana Manoj-Kesana deleted the Bug-25550 branch March 16, 2026 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready for review PR is ready for review and merging

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Netspec 25550 - flag as failed for a tenant that has no Azure Firewall

4 participants