# saas-workspace-and-entra-unified-audit-forensics

saas-workspace-and-entra-unified-audit-forensics is a Claude Code skill for examining Microsoft and Google audit records during BEC and SaaS tenant investigations. It traces OAuth grants, mail forwarding, and session-token replay.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 73 repo stars
- Author: W4L33Dx
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/W4L33Dx/Cyber-Monster/tree/HEAD/blue-team/digital-forensics/saas-workspace-and-entra-unified-audit-forensics/SKILL.md
- Updated: 2026-11-15
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/saas-workspace-and-entra-unified-audit-forensics

## What it does

The skill correlates Microsoft Purview Unified Audit, Entra, and Google Workspace records to reconstruct activity in a SaaS tenant. It looks for OAuth consent grants, mailbox forwarding changes, `MailItemsAccessed` events, and timelines involving reused session tokens.

Start by identifying which audit streams are available and how long they retain records: coverage depends on licensing, and UAL ingestion can lag by minutes to hours. A single Entra authentication flow calls for searches across both interactive and non-interactive sign-in records. For Google Workspace, the skill pivots to Admin, login, and OAuth token audits. Missing or disabled telemetry makes the finding inconclusive rather than clean.

## Requirements
- Works with: Google Workspace

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add W4L33Dx/Cyber-Monster --skill saas-workspace-and-entra-unified-audit-forensics -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/saas-workspace-and-entra-unified-audit-forensics/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/saas-workspace-and-entra-unified-audit-forensics/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add W4L33Dx/Cyber-Monster --skill saas-workspace-and-entra-unified-audit-forensics -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/saas-workspace-and-entra-unified-audit-forensics/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add W4L33Dx/Cyber-Monster --skill saas-workspace-and-entra-unified-audit-forensics -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/saas-workspace-and-entra-unified-audit-forensics/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install W4L33Dx/Cyber-Monster blue-team/digital-forensics/saas-workspace-and-entra-unified-audit-forensics
```

2. **Manually: put the files in place**
- File: `.github/skills/saas-workspace-and-entra-unified-audit-forensics/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add W4L33Dx/Cyber-Monster --skill saas-workspace-and-entra-unified-audit-forensics -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/W4L33Dx/Cyber-Monster --path blue-team/digital-forensics/saas-workspace-and-entra-unified-audit-forensics
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/saas-workspace-and-entra-unified-audit-forensics/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/W4L33Dx/Cyber-Monster/tree/HEAD/blue-team/digital-forensics/saas-workspace-and-entra-unified-audit-forensics/SKILL.md

## When to use it
- trace OAuth consent grants
- find mailbox forwarding changes
- correlate mail access with sign-in events
- build a session-token replay timeline

## Example prompts
- Investigate this BEC incident using Entra and mailbox audit records.
- Check whether OAuth consent was granted in this SaaS tenant.
- Correlate `MailItemsAccessed` events with sign-ins and forwarding changes.

## Similar
- [google-workspace](https://affpapa.org/en/nevibecode/skills/mitsuhiko-google-workspace.md) — skill · 108 installs
- [Google Workspace](https://affpapa.org/en/nevibecode/mcp/google-workspace.md) — MCP server · ★ 200 repo stars
- [Google Workspace (multi-account)](https://affpapa.org/en/nevibecode/mcp/google-workspace-multi-account.md) — MCP server · ★ 21 repo stars
- [persona-it-admin](https://affpapa.org/en/nevibecode/skills/persona-it-admin.md) — skill · 31100 installs
- [google-workspace-cli](https://affpapa.org/en/nevibecode/skills/google-workspace-cli.md) — skill · 636 installs
- [gws-admin-reports](https://affpapa.org/en/nevibecode/skills/gws-admin-reports.md) — skill · 31700 installs

From the same set: [w4l33dx/cyber-monster](https://affpapa.org/en/nevibecode/by/w4l33dx/cyber-monster.md) — 61 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
