sentinel
Skill2 starsChanged 3 months agoMITView on GitHub
Use this skill for Microsoft Sentinel management-plane automation over Azure Resource Manager, including incidents and analytic rules.
12 other projects use a version of this.
Adopted by
Most recently taken up by
- mqmalagris/agent-skillstheir own version, first seen Nov 5, 2026
- vinayaklatthe/microsoft-security-skillstheir own version, first seen Nov 1, 2026
- simota/agent-skillstheir own version, first seen Oct 23, 2026
- fhgomes/my-awesome-agents-skillstheir own version, first seen Oct 13, 2026
- SparkDevNetwork/Rocktheir own version, first seen Oct 8, 2026
- Alexander-Tyagunov/magiciantheir own version, first seen Sep 28, 2026
Other versions12 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 12
- SparkDevNetwork/Rock★ 701same name
- vinayaklatthe/microsoft-security-skills★ 179same name
- simota/agent-skills★ 96same name
- xiaomo-agi/xiaomo-skills★ 28same name
- Alexander-Tyagunov/magician★ 14same name
- fhgomes/my-awesome-agents-skills★ 5same name
- copyleftdev/palimpsest★ 2same name
- guihai24/openskills★ 2same name
- DROOdotFOO/agent-skills★ 1same name
- nileshteji/skills★ 1same name
2 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository13 other files it gives its agents.
- agents.mdAGENTS.md
- AGENTS.mdAGENTS.md
- llms.txtllms.txt
- azureSkill
- copilotstudioSkill
- dataverseSkill
- graphSkill
- intuneSkill
- loganalyticsSkill
- powerplatformSkill
- sharepoint-onlineSkill
- teamsSkill
- vm-guest-managementSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 2 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 11 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 22
Use this skill for Microsoft Sentinel management-plane tasks that run through the Microsoft.SecurityInsights ARM provider.
- Distinctive: line 27
Call workspace-scoped Sentinel management endpoints when no higher-level wrapper exists.
- Very specific: line 73
Use an ARM context with the least privilege required, such as Microsoft Sentinel Reader for read-only workflows.
- Very specific: line 74
Do not confuse Sentinel management-plane access with Log Analytics data-plane access.
- Distinctive: line 75
Avoid client secret auth in production when managed identity or federated credentials are available.
“Common” is measured: kept by at least 6 in 10 of the 11 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Microsoft Sentinel Skill
Agent Summary
Use this skill for Microsoft Sentinel management-plane tasks that run through the Microsoft.SecurityInsights ARM provider. You must supply an ARM-capable auth context, usually created by ./skills/azure/Connect-AzureApi.ps1.
When to Use
- List or retrieve Sentinel incidents from a workspace.
- Enumerate analytic alert rules through ARM.
- Call workspace-scoped Sentinel management endpoints when no higher-level wrapper exists.
Required Parameters
Get-SentinelIncident.ps1
| Parameter | Type | Required | Notes |
SubscriptionId | string | Yes | Azure subscription hosting the workspace. |
ResourceGroupName | string | Yes | Resource group containing the workspace. |
WorkspaceName | string | Yes | Sentinel-enabled Log Analytics workspace. |
AuthContext | hashtable | Yes | ARM auth context, typically from Connect-AzureApi.ps1. |
IncidentId | string | No | Retrieve one incident instead of listing all. |
Status | string | No | Client-side filter such as New, Active, or Closed. |
Get-SentinelAlertRule.ps1
| Parameter | Type | Required | Notes |
SubscriptionId | string | Yes | Azure subscription hosting the workspace. |
ResourceGroupName | string | Yes | Resource group containing the workspace. |
WorkspaceName | string | Yes | Sentinel-enabled Log Analytics workspace. |
AuthContext | hashtable | Yes | ARM auth context. |
RuleId | string | No | Retrieve one rule instead of listing all. |
Invoke-SentinelArmRequest.ps1
| Parameter | Type | Required | Notes |
Uri | string | Yes | Relative path like /incidents or absolute nextLink. |
SubscriptionId | string | Yes | Azure subscription hosting the workspace. |
ResourceGroupName | string | Yes | Resource group containing the workspace. |
WorkspaceName | string | Yes | Sentinel-enabled Log Analytics workspace. |
AuthContext | hashtable | Yes | ARM auth context. |
Method | string | No | Defaults to GET. |
ApiVersion | string | No | Defaults to 2024-03-01. |
Example Agent Prompts
- "Query all Sentinel incidents from the last 24 hours."
- "List all analytic alert rules for this Sentinel workspace."
- "Call the Sentinel ARM incidents endpoint directly and return every page."
Example Agent Workflow
$ctx = ./skills/azure/Connect-AzureApi.ps1 -AuthenticationType ManagedIdentity -Environment AzureCloud -SubscriptionId $subscriptionId
$incidents = ./skills/sentinel/Get-SentinelIncident.ps1 -SubscriptionId $subscriptionId -ResourceGroupName $resourceGroupName -WorkspaceName $workspaceName -AuthContext $ctx -Status ActiveSecurity Caveats
- Use an ARM context with the least privilege required, such as
Microsoft Sentinel Readerfor read-only workflows. - Do not confuse Sentinel management-plane access with Log Analytics data-plane access; KQL belongs to the
loganalyticsskill. - Avoid client secret auth in production when managed identity or federated credentials are available.
Overview
This skill set runs Microsoft Sentinel operations on the management plane via ARM (Microsoft.SecurityInsights resources). It wraps authentication and request execution so you can manage incidents, alert rules, watchlists, automation rules, and data connectors consistently.
For Log Analytics data-plane operations such as KQL queries, custom table creation, workspace provisioning, and log ingestion, see the loganalytics skill.
Authentication
- Management plane: ARM token (
https://management.azure.com/) - The Log Analytics query/data-plane token is separate; use the
loganalyticsskill for KQL queries and ingestion
Endpoints
| Plane | Request Endpoint | Token Audience |
| Management (ARM) | https://management.azure.com/ | https://management.azure.com/ |
Skills
| File | Purpose |
| Invoke-SentinelArmRequest.ps1 | Calls workspace-scoped Microsoft Sentinel ARM resources under Microsoft.SecurityInsights and supports pagination (nextLink) |
| Get-SentinelIncident.ps1 | Retrieves Sentinel incidents via ARM, including optional status filtering and multi-page enumeration |
| Get-SentinelAlertRule.ps1 | Enumerates Sentinel analytic alert rules via ARM, including optional lookup by rule ID |
Toolchain
| Plane | Tool | Best For | Token Audience | Limitations |
| Management | Az.SecurityInsights (Get-AzSentinelIncident, New-AzSentinelAlertRule) | Native PowerShell for incidents, alert rules, watchlists, automation rules | https://management.azure.com/ | Module dependency; not all preview features available |
| Management | Azure CLI (az sentinel) | Incident, watchlist, and automation rule management | https://management.azure.com/ | Extension-based; may lag behind latest ARM API versions |
| Management | Raw REST / ARM (Invoke-AzRestMethod) | Full control over Sentinel ARM resources | https://management.azure.com/ | Caller must construct ARM paths and handle async operations |
For KQL queries, workspace lifecycle, custom tables, DCE/DCR provisioning, and log ingestion, use the
loganalyticsskill.
Patterns & Caveats
- ARM async operations
- Key ARM paths (alertRules, watchlists, incidents, automationRules, dataConnectors)
Examples
Incident retrieval
./skills/sentinel/Get-SentinelIncident.ps1 `
-SubscriptionId $subscriptionId `
-ResourceGroupName $resourceGroupName `
-WorkspaceName $workspaceName `
-Status "Active" `
-AuthContext $authContextAlert rule enumeration
./skills/sentinel/Get-SentinelAlertRule.ps1 `
-SubscriptionId $subscriptionId `
-ResourceGroupName $resourceGroupName `
-WorkspaceName $workspaceName `
-AuthContext $authContextPrerequisites
- Required modules
- PowerShell 7.2+
- MSAL.PS (only if you use certificate-based authentication and want MSAL token acquisition without Azure CLI fallback)
- Required roles
- Microsoft Sentinel Reader (for viewing incidents and analytic rules)
- Microsoft Sentinel Contributor (required if you perform management-plane write operations via ARM, for example when expanding this skill set beyond read-only retrieval)
Related Docs
- Auth Patterns
- Token Chaining
- Environment Endpoints
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

