AI Assistant Config and Instruction File Changes

Detects creation, modification or renaming of AI assistant tool server configs, instruction files and settings, with the writing process labelled as a shell or script (including Node and Python) or another process. Matches exact file names, Cursor rule files with the mdc extension and settings files only in the .claude, .cursor, .codex, .gemini and .windsurf folders, so settings kept elsewhere are not covered. A rename onto a monitored name is caught and shows the previous name, a rename away from one is not. File content is not visible and developer devices can return many rows. Logic tested with synthetic events. Ran in a live tenant without errors. Not yet validated against live matching events.

Microsoft Sentinel (KQL)