SecOps - 41212 - Hunting capabilities are operationalized in Microsoft Sentinel via saved hunting queries or bookmarks - #1484
Draft
aahmed-spec wants to merge 2 commits into
Draft
SecOps - 41212 - Hunting capabilities are operationalized in Microsoft Sentinel via saved hunting queries or bookmarks#1484aahmed-spec wants to merge 2 commits into
aahmed-spec wants to merge 2 commits into
Conversation
…t Sentinel via saved hunting queries or bookmarks
Contributor
There was a problem hiding this comment.
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-41212PowerShell 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')"
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.
No description provided.