Skip to content

SecOps - 41212 - Hunting capabilities are operationalized in Microsoft Sentinel via saved hunting queries or bookmarks - #1484

Merged
Thomas Detzner (tdetzner) merged 4 commits into
devfrom
test-41212
Aug 11, 2026
Merged

SecOps - 41212 - Hunting capabilities are operationalized in Microsoft Sentinel via saved hunting queries or bookmarks#1484
Thomas Detzner (tdetzner) merged 4 commits into
devfrom
test-41212

Conversation

@aahmed-spec

Copy link
Copy Markdown
Collaborator

No description provided.

…t Sentinel via saved hunting queries or bookmarks

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds a new SecOps assessment (41212) to evaluate whether Microsoft Sentinel hunting is operationalized by checking for the presence of saved hunting queries and/or bookmarks across Sentinel-onboarded Log Analytics workspaces, and generates a per-workspace markdown report for the assessment output.

Changes:

  • Introduces Test-Assessment-41212 PowerShell test to query Sentinel workspaces, collect hunting query/bookmark counts, and produce a summarized markdown table.
  • Adds the companion markdown documentation page for assessment 41212.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
src/powershell/tests/Test-Assessment.41212.ps1 New assessment test that queries Sentinel workspaces for saved hunting queries and bookmarks and renders a report.
src/powershell/tests/Test-Assessment.41212.md New assessment documentation for the hunting operationalization check.
Suppressed comments (1)

src/powershell/tests/Test-Assessment.41212.ps1:239

  • After introducing $portalHost for sovereign cloud support, the per-row links should also use it; otherwise the table still points to portal.azure.com in AzureUSGovernment.
        $subLink         = "https://portal.azure.com/#resource/subscriptions/$($result.SubscriptionId)"
        $sentinelId      = "/subscriptions/$($result.SubscriptionId)/resourcegroups/$($result.ResourceGroup)/providers/microsoft.securityinsightsarg/sentinel/$($result.WorkspaceName)"
        $huntingLink     = "https://portal.azure.com/#view/Microsoft_Azure_Security_Insights/MainMenuBlade/~/Hunting/id/$($sentinelId -replace '/', '%2F')"

Comment thread src/powershell/tests/Test-Assessment.41212.ps1 Outdated
Comment thread src/powershell/tests/Test-Assessment.41212.ps1 Outdated
Comment thread src/powershell/tests/Test-Assessment.41212.ps1
@aahmed-spec aahmed-spec changed the title SecOps - 41212 - Hunting capabilities are operationalized in Microsof… SecOps - 41212 - Hunting capabilities are operationalized in Microsoft Sentinel via saved hunting queries or bookmarks Aug 5, 2026
@aahmed-spec aahmed-spec self-assigned this Aug 10, 2026
@aahmed-spec
aahmed-spec marked this pull request as ready for review August 10, 2026 09:19
@aahmed-spec aahmed-spec added the ready for review PR is ready for review and merging label Aug 10, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

aahmed-spec Please, address my feedback.

Comment thread src/powershell/tests/Test-Assessment.41212.ps1

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@tdetzner
Thomas Detzner (tdetzner) merged commit 252f8dc into dev Aug 11, 2026
2 checks passed
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.

4 participants