Kql Grounded Queries

Use whenever the user asks for a KQL query for Microsoft Sentinel, Log Analytics or Defender XDR Advanced Hunting — writing one, fixing one, modifying one, or explaining one — including requests that never say "KQL" (for example "query SigninLogs", "hunt for phishing URLs in Defender", "write a Sentinel detection"). Verify every table and column BEFORE composing any query — against Microsoft documentation, or against the tenant's own schema where the table is custom and Microsoft does not document it.

Microsoft Updated 195k repo stars

File contents

microsoft/cat-agent-skills commit 28f44bff75

Frequently asked questions

npx get-skill add microsoft/kql-grounded-queries