generate_hunt_report
Builds a formatted .docx threat hunt report from structured hunt card data, saves it to the Desktop threat hunting folder, and returns the output file path.
Instructions
Generates a formatted Word document (.docx) threat hunt report from structured hunt card data. Saves the file to C:\Users{username}\Desktop\Threat Hunting Reports{Actor}_{Date}.docx. Creates the output folder automatically if it does not exist. Input must include report metadata and an array of hunt cards (one per technique). Each card must contain: hunt_id, hypothesis_name, objective, priority, confidence, mitre_mapping (with group aliases), prerequisites, expected_artifacts, risks, log_sources, coverage_status, query (Sigma YAML), true_positive_criteria, and escalation_path. Returns the full output file path on success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Report date in YYYY-MM-DD format | |
| actor | Yes | Canonical threat actor name, e.g. "MuddyWater" | |
| cards | Yes | Array of hunt card objects, one per technique hunted | |
| title | Yes | Report title, e.g. "Threat Hunt Report — MuddyWater (2026-03-11)" | |
| analyst | Yes | Analyst name or team name | |
| actor_id | Yes | MITRE ATT&CK group ID, e.g. "G0069" | |
| classification | Yes | Classification marking, e.g. "TLP:AMBER" | |
| executive_summary | Yes | 2–3 sentence executive summary of coverage state and key risks |