Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Explore Microsoft Sentinel data lake with data exploration collection

Important

Some information relates to a prerelease product that may be substantially modified before it's released. Microsoft makes no warranties, expressed or implied, with respect to the information provided here.

The data exploration tool collection in the Microsoft Sentinel Model Context Protocol (MCP) server lets you search for relevant tables and retrieve data from Microsoft Sentinel's data lake by using natural language. It also includes graph tools that let you reason over multiple Microsoft Sentinel graphs, including exposure, hunting, and data risk graphs.

Prerequisites

To access the data exploration tool collection, you need the following prerequisites:

Important

Access to Sentinel MCP tools is supported for users, managed identities, or service principals that are assigned with at least any of the following roles:

  • Security Administrator
  • Security Operator
  • Security Reader

To access the graph data in Defender portal, at least read-only access in Microsoft Security Exposure Management is required.

Add the data exploration collection

To add the data exploration collection, first set up Microsoft Sentinel's unified MCP server interface. Follow the step-by-step instructions for compatible AI-powered code editors and agent-building platforms.

The data exploration collection is hosted at the following URL:

https://sentinel.microsoft.com/mcp/data-exploration

Tools in the data exploration collection

The data exploration collection includes the following tools:

Semantic search on table catalog (search_tables)

This tool discovers data lake tables relevant to a given natural language input and returns schema definitions to support query authoring. Use this tool to discover tables, understand a schema, or build valid Kusto Query Language (KQL) queries for a Microsoft Sentinel workspace. You can also use it to explore unfamiliar data sources or identify relevant tables for a specific investigative or analytical task.

Parameters Required? Description
query Yes This parameter takes in keywords to search for relevant tables in the connected workspaces.
workspaceId No This parameter takes in a workspace identifier to limit the search to a single connected Microsoft Sentinel data lake workspace.

Supported tables

This tool supports nearly all known standard and partner content hub tables out of the box, including Azure Monitor Log Analytics tables organized by category and most Microsoft Sentinel tables and associated connectors.

The following Microsoft Sentinel tables aren't supported:

Unsupported Microsoft Sentinel tables
  • AliCloudActionTrailLogs_CL
  • argsentdc_CL
  • Audit_CL
  • Auth0Logs_CL
  • Awareness_Performance_Details_CL
  • Awareness_SafeScore_Details_CL
  • Awareness_User_Data_CL
  • Awareness_Watchlist_Details_CL
  • CarbonBlack_Alerts_CL
  • Cisco_Umbrella_proxy_CL
  • Cloud_Integrated_CL
  • CloudGuard_SecurityEvents_CL
  • ConfluenceAuditLogs_CL
  • CortexXpanseAlerts_CL
  • CyberSixgill_Alerts_CL
  • DruvaSecurityEvents_CL
  • DynatraceAttacks_CL
  • DynatraceAuditLogs_CL
  • DynatraceProblems_CL
  • DynatraceSecurityProblems_CL
  • ErmesBrowserSecurityEvents_CL
  • FireworkV2_CL
  • Garrison_ULTRARemoteLogs_CL
  • GCPLoadBalancerLogs_CL
  • GitHubAuditLogsV2_CL
  • Health_Data_CL
  • Illumio_Flow_Events_CL
  • IllumioInsightsSummary_CL
  • iocsent_CL
  • Island_Admin_CL
  • Island_User_CL
  • JBossEvent_CL
  • LookoutMtdV2_CL
  • ObsidianActivity_CL
  • ObsidianThreat_CL
  • Onapsis_Defend_CL
  • OneTrustMetadataV3_CL
  • OracleWebLogicServer_CL
  • PaloAltoCortexXDR_Alerts_CL
  • PaloAltoCortexXDR_Audit_Agent_CL
  • PaloAltoCortexXDR_Audit_Management_CL
  • PaloAltoCortexXDR_Endpoints_CL
  • Phosphorus_CL
  • PingOne_AuditActivitiesV2_CL
  • PrismaCloudCompute_CL
  • ProofpointPODMailLog_CL
  • ProofpointPODMessage_CL
  • ProofPointTAPClicksBlockedV2_CL
  • ProofPointTAPMessagesBlockedV2_CL
  • RSAIDPlus_AdminLogs_CL
  • SAPLogServ_CL
  • Seg_Cg_CL
  • Seg_Dlp_CL
  • SeraphicWebSecurity_CL
  • SlackAuditV2_CL
  • Tenable_WAS_Asset_CL
  • TransmitSecurityActivity_CL
  • Ttp_Attachment_CL
  • Ttp_Impersonation_CL
  • Ttp_Url_CL
  • Ubiquiti_CL
  • ValenceAlert_CL
  • vcenter_CL
  • ZimperiumThreatLog_CL
  • ZNSegmentAuditNativePoller_CL

Execute KQL (Kusto Query Language) query on Microsoft Sentinel data lake (query_lake)

This tool runs a single KQL query against a specified Microsoft Sentinel data lake workspace and returns the raw result set. It's designed for focused investigative or analytical retrieval and not bulk export. Use this tool to advance an investigation or analytical workflow and retrieve a security event, alert, asset, identity, device, or enrichment data. You can also use it alongside the search_tables tool to identify relevant table schemas and build valid KQL queries.

Parameters Required? Description
query Yes This parameter takes in a well-formed KQL query to retrieve data from a Microsoft Sentinel data lake workspace.
workspaceId No This parameter takes in a workspace identifier to limit the search to a single connected Microsoft Sentinel data lake workspace.

List workspaces (list_sentinel_workspaces)

This tool lists all Microsoft Sentinel data lake workspace name and ID pairs available to you. Including the workspace name provides you with helpful context to understand which workspace is being used. Run this tool before using any other Microsoft Sentinel tools because those tools need a workspace ID argument to function properly.

Entity analyzer

These tools use AI to analyze your organization's data in the Microsoft Sentinel data lake. They provide a verdict and detailed insights on URLs, domains, and user entities. They help eliminate the need for manual data collection and complex integrations typically required for enriching and investigating entities.

For example, analyze_user_entity reasons over the user's authentication patterns, behavioral anomalies, activity within your organization, and more to provide a verdict and analysis. The analyze_url_entity tool reasons over Microsoft threat intelligence, your custom threat intelligence in Microsoft Sentinel threat intelligence platform (TIP), and URL activity within your organization. It also checks Microsoft Sentinel watchlists to provide a verdict and analysis.

Entity analysis tools might require a few minutes to generate results, so there are tools to start analysis for each entity and another one that polls for the analysis results.

Important

To use the entity analyzer tool, you also need the following roles:

  • Security Copilot Contributor – This role is required to use the tool, which consumes Security Compute Units (SCUs) to deliver reasoned entity risk analysis.
  • Security Copilot Owner (optional) – This role is only required to view and monitor SCU usage.

For more information, see Understand authentication in Microsoft Security Copilot.

Start analysis (analyze_user_entity and analyze_url_entity)

Parameters Required? Description
Microsoft Entra object ID, User Principal Name (UPN), or URL Yes This parameter takes in the user or URL you want to analyze.
startTime Yes This parameter takes in the start time of the analysis window.
endTime Yes This parameter takes in the end time of the analysis window.
workspaceId No This parameter takes in a workspace identifier to limit the search to a single connected Microsoft Sentinel data lake workspace.

These tools return an identifier value that you can provide to the retrieve analysis tool as input.

Retrieve analysis (get_entity_analysis)

Parameters Required? Description
analysisId Yes This parameter takes in the job identifier received from the start analysis tools.

While this tool automatically polls for a few minutes until results are ready, its internal timeout might not be sufficient for long analysis operations. You might need to run it multiple times to get results.

Note

It might be beneficial to include a prompt such as render the results as returned exactly from the tool, which helps ensure that the response from the analyzer is provided without additional processing by the MCP client.

Additional information

  • analyze_user_entity supports a maximum time window of seven days to maximize accuracy of the results.

  • analyze_user_entity only works for users with a Microsoft Entra object ID (users). On-premises Active Directory-only users aren't supported for user analysis.

  • analyze_user_entity requires the following tables to be present in the data lake to ensure accuracy of the analysis:

    If you don't have any of these required tables, analyze_user_entity generates an error message that lists the tables you didn't onboard, along with links to their corresponding onboarding documentation.

  • analyze_user_entity works best when the following tables are also present in the data lake, but continues to work and assess risk, even if these tables are unavailable:

  • analyze_url_entity works best when the following tables are present in the data lake, but continues to work and assess risk, even if these tables are unavailable:

    If you don't have any of these tables, analyze_url_entity generates a response with a disclaimer that lists the tables you didn't onboard, along with links to their corresponding onboarding documentation.

  • Running multiple instances of the entity analyzer at the same time can increase latency for each run. To prevent timeouts and avoid hitting the entity analyzer's preview thresholds, start by running a maximum of five analyses at once and then adjust it as needed based on how often the logic app is triggered in your organization.

Graph tools (preview)

Important

This information relates to a prerelease product that may be substantially modified before it's released. Microsoft makes no warranties, expressed or implied, with respect to the information provided here.

The graph tools let you reason over multiple Microsoft Sentinel graphs, including exposure, hunting, and blast radius graphs. By using these tools, you can gather insights and make data-driven decisions while querying in natural language.

Blast radius finder (find_blastradius)

This tool evaluates the blast radius of a node by exploring propagation paths towards an organization's critical assets. It details the paths that start at the entity you provide, evaluates the risk, and specifies recommendations to reduce it.

Parameters Required? Description
sourceName Yes This parameter takes in keywords to search for relevant information matching an entity in the graph. It can be a node or a group of nodes.

Connection and path discovery (find_walkable_paths)

This tool enumerates the connections between any given pairs of sources and targets. It analyzes the nature of the connections and then decides whether it can be traversed for lateral movement.

Parameters Required? Description
sourceName Yes This parameter takes in keywords to match an entity within the graph for the path starting point.
targetName Yes This parameter takes in keywords to match an entity within the graph for the path target.

Exposure perimeter analyzer (find_exposure_perimeter)

This tool lists the incoming connections from other entities to the specified entity. It helps you determine the risk that the entity faces. The tool might return prioritized recommendations based on the results.

Parameters Required? Description
targetName Yes This parameter takes in keywords to identify and match an entity in the graph; the node's name.
minPathLength No This parameter takes in the minimum number of hops in a path.
maxPathLength No This parameter takes in the maximum number of hops in a path.
resultsCountLimit No This parameter takes in the maximum number of paths to return.

Path between two entities (find_connected_nodes)

This tool lists traversable paths between two entities that match a criteria or characteristic that describes those entities.

Parameters Required? Description
sourceNodeLabel Yes This parameter takes in a valid source label to filter on. For supported labels, use the get_graph_context tool.
sourceNodeProperties No This parameter takes in a list of valid properties for the starting point entity, separated by commas. For supported properties, use the get_graph_context tool.
targetNodeLabel Yes This parameter takes in a valid target label to filter on. For supported labels, use the get_graph_context tool.
targetNodeProperties No This parameter takes in a list of valid properties for the ending point entity, separated by commas. For supported properties, use the get_graph_context tool.
resultsCountLimit No This parameter takes in the maximum number of results to return.

Nodes match (find_nodes)

This tool finds and matches entities that the graph represents as nodes based on given criteria or characteristics. It returns a list of nodes that match the defined criteria.

Parameters Required? Description
validNodeLabel Yes This parameter takes in a node label to match. For supported labels, use the get_graph_context tool.
validNodeProperties No This parameter takes in a list of properties to match, separated by commas. For supported properties, use the get_graph_context tool.
resultsLimit No This parameter takes in the maximum number of results to return.

General information and context for graph (get_graph_context)

This tool provides context for the parameters and serves as a reference to help you understand which tools, functionalities, or parameters you can use. Use it as a helper to get the graph context so you can better use the other graph MCP tools in the collection.

Additional information for graph tools

  • To scope results to graph only, add in my graph to prompts.
  • Querying for identities doesn't support user principal names (UPNs).
  • When you specify the type of the entity, use it before the name.
  • Installing and configuring the graph tool collection carries no cost. However, you invoke the graph meter when you start using the tools to query a Microsoft Sentinel graph. For more information, see: Plan costs and understand Microsoft Sentinel pricing and billing.

Sample prompts

The following sample prompts demonstrate what you can do with the data exploration collection:

  • Find the top three users that are at risk and explain why they're at risk.
  • Find sign-in failures in the last 24 hours and give me a brief summary of key findings.
  • Identify devices that showed an outstanding number of outgoing network connections.
  • Help me understand if the user <user object ID> is compromised.
  • Investigate users with a password spray alert in the last seven days and tell me if any of them are compromised.
  • Find all the URL IOCs from <threat analytics report> and analyze them to tell me everything Microsoft knows about them.
  • What is the blast radius of node X if compromised?
  • List all paths from user X to critical assets.
  • What is the exposure perimeter of my critical SQL servers?

How Microsoft Sentinel MCP tools work alongside your agent

The following example shows how an agent answers a prompt by dynamically orchestrating over the tools.

Sample prompt: Find the top three users that are at risk and explain why they're at risk.

Typical response (GitHub Copilot using Claude Sonnet 4):

👁 Screenshot of a GitHub Copilot response.

Explanation:

Related content


Feedback

Was this page helpful?

Additional resources