Skip to content

Instantly share code, notes, and snippets.

View Thor-DraperJr's full-sized avatar

Thor Draper Jr Thor-DraperJr

View GitHub Profile
openapi: 3.0.1
info:
title: Defender Detection Automation API
version: 1.0.0
description: Azure Functions API for managing Microsoft Defender custom detection rules. Use PATCH to update rules, as CREATE/PUT are currently blocked by Graph API validation issues.
servers:
- url: https://func-cdr-detect.azurewebsites.net/api
security: []
paths:
/detections:
@Thor-DraperJr
Thor-DraperJr / graph-openapi.yaml
Created October 22, 2025 21:56
Microsoft Graph Security Detection Rules OpenAPI Spec
openapi: 3.0.1
info:
title: Microsoft Graph Security Detection Rules API
version: beta
description: Microsoft Graph API for managing Microsoft Defender custom detection rules
servers:
- url: https://graph.microsoft.com/beta
paths:
/security/rules/detectionRules:
get: