Skip to content

About

Searchable library of KQL queries for Microsoft security products, with category browsing and one-click copy.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation


K   Q   L     L   I   B   R   A   R   Y


KQL Library is a security-focused hub for browsing and copying Kusto (KQL) queries. Queries are grouped by Microsoft security product, with fast search and one-click copy for investigation and detection work.

Features

  • About 145 queries across Entra ID, Intune, Microsoft Sentinel, Defender for Endpoint (endpoint, attack surface reduction, SmartScreen, governance), Defender for Identity, Defender for Office 365, Defender for Cloud Apps, and Microsoft 365 Copilot agents.
  • Sidebar navigation by category and subcategory.
  • Search across titles, descriptions, and tags.
  • One-click copy for every query.
  • Responsive layout for desktop and mobile.

Stack

React 19, TypeScript, Vite, Tailwind CSS v4, Framer Motion, Lucide icons, and Vercel Web Analytics.

Development

npm install
npm run dev      # start the dev server
npm run build    # build to dist/
npm run preview  # serve the production build

Adding queries

Queries are static JSON files in public/queries/, one file per product area. Each entry looks like this (see public/template.json):

{
  "title": "Dormant Accounts",
  "description": "What the query finds and why it matters.",
  "query": "SigninLogs | ...",
  "category": "Entra ID",
  "subCategory": "Accounts",
  "tags": ["signin", "user"]
}

To add a new file, place it in public/queries/ and add its name to the queryFiles list in src/app.tsx.

License

MIT

About

Searchable library of KQL queries for Microsoft security products, with category browsing and one-click copy.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Used by

Contributors

Languages