用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/dandye/adk_runbooks --skill case-report命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
Use when evaluating threat detection opportunities (TDOs), generating synthetic UDM events, evaluating Chronicle rule coverage, and drafting YARA-L 2.0 rules.
Use when hunting for advanced persistent threat (APT) actor activity, tools, and infrastructure.
Use when hunting for lateral movement via PsExec, WMI, remote scheduled tasks, or WinRM.
| name | case-report |
| description | Use when drafting detailed case closure reports, root cause analysis, and impact summaries. |
| category | reporting |
| version | 1.0.0 |
| type | Skill |
| title | Skill: Generate Case Investigation Report |
| generated | {"by":"process:google-labs-jules","at":"2025-12-21T03:04:42.000Z"} |
To consolidate findings from a completed or ongoing investigation for a specific SOAR case into a comprehensive Markdown report. This report is suitable for stakeholder communication, post-incident reviews, or general documentation of investigation activities.
This runbook covers:
This runbook explicitly excludes:
${CASE_ID}: The SOAR case ID for which the report is being generated.${REPORT_FILENAME_SUFFIX}: A suffix for the report filename (defaults to ${CASE_ID} if not provided).${ADDITIONAL_CONTEXT}: Any specific points, findings, or pre-synthesized summaries the analyst wants to ensure are included in the report.${INVESTIGATION_WORKFLOW_SUMMARY}: A summary of the tools and steps taken during the investigation, used to generate the Mermaid diagram.${REPORT_FILE_PATH}: The full path to the generated Markdown report file.${REPORT_CONTENT}: The full Markdown content of the generated report.${SOAR_UPDATE_STATUS}: (Optional) Status of the attempt to post a comment to the SOAR case.secops-soar: get_case_full_details, list_alerts_by_case, list_events_by_alert, post_case_comment (Potentially others depending on what needs summarizing from the case)secops-mcp: lookup_entity, search_security_events (If summarizing previous searches performed during the investigation)gti-mcp: Various get_*_report tools (If summarizing previous enrichment performed during the investigation)write_to_file (Replaces the conceptual write_report tool)${CASE_ID} using get_case_full_details (includes basic case info, alerts, comments). Potentially re-run list_events_by_alert for key alerts if needed.rules-bank/reporting_templates.md). Key sections might include: Executive Summary, Timeline of Key Events, Involved Entities & Enrichment, Analysis/Root Cause (if determined), Actions Taken, Recommendations/Lessons Learned.write_to_file with a standardized name (e.g., ./reports/case_report_${CASE_ID}_${timestamp}.md).post_case_comment.graph TD
START(["START"]) --> extract_case_report_payload_node["1. extract_case_report_payload_node<br/><i>(Extract Case Payload)</i>"]
extract_case_report_payload_node --> fetch_full_case_details_node["2. fetch_full_case_details_node<br/><i>(Fetch Full Case Details & Priority)</i>"]
fetch_full_case_details_node --> case_report_type_router{"3. case_report_type_router<br/><i>(Event.actions.route)</i>"}
case_report_type_router -- "EXECUTIVE_CASE_REPORT" --> handle_executive_case_report_branch["4a. handle_executive_case_report_branch<br/><i>(Generate Executive Case Report)</i>"]
case_report_type_router -- "STANDARD_CASE_REPORT" --> handle_standard_case_report_branch["4b. handle_standard_case_report_branch<br/><i>(Generate Standard Case Report)</i>"]
handle_executive_case_report_branch --> document_case_report_node["5. document_case_report_node<br/><i>(SOAR Comment & Report Summary)</i>"]
handle_standard_case_report_branch --> document_case_report_node
sequenceDiagram
participant Analyst/User
participant AutomatedAgent as Automated Agent (MCP Client)
participant SOAR as secops-soar
participant SIEM as secops-mcp %% Example servers used during investigation
participant GTI as gti-mcp %% Example servers used during investigation
Analyst/User->>AutomatedAgent: Generate Case Report\nInput: CASE_ID, ...
%% Step 1: Gather Case Data
AutomatedAgent->>SOAR: get_case_full_details(case_id=CASE_ID)
SOAR-->>AutomatedAgent: Case Details, Alerts, Comments
%% Potentially re-run list_events_by_alert if needed
%% Step 2: Synthesize Findings
Note over AutomatedAgent: Review all gathered data (comments, events, enrichment from investigation)
%% Step 3 & 4: Structure Report & Generate Diagram
Note over AutomatedAgent: Organize report sections (Exec Summary, Timeline, Entities, Analysis, Actions...)
Note over AutomatedAgent: Create Mermaid diagram summarizing investigation steps
%% Step 5 & 6: Format & Write Report
Note over AutomatedAgent: Compile final Markdown content (ReportMarkdown)
AutomatedAgent->>AutomatedAgent: write_to_file(path="./reports/case_report_${CASE_ID}_${timestamp}.md", content=ReportMarkdown)
Note over AutomatedAgent: Report file created
%% Step 7: Optional SOAR Update
opt Update SOAR Case
AutomatedAgent->>SOAR: post_case_comment(case_id=CASE_ID, comment="Case report generated: case_report_....md")
SOAR-->>AutomatedAgent: Comment Confirmation
end
AutomatedAgent->>Analyst/User: attempt_completion(result="Case investigation report generated for Case CASE_ID.")
${CASE_ID}) has been gathered and synthesized.${REPORT_FILE_PATH}).${SOAR_UPDATE_STATUS} is available.The following rubric is used to evaluate the execution of this Reporting runbook by an LLM agent.
| Criteria | Points | Description |
|---|---|---|
| Data Collection | 25 | Gathered all necessary data points and metrics for the report. |
| Report Generation | 30 | Generated the report in the correct format with accurate content. |
| Quality & Clarity | 15 | Ensure the report is readable, well-structured, and error-free. |
| Delivery | 15 | Delivered or saved the report to the correct location/recipient. |
| Operational Artifacts | 15 | Produced required artifacts: Sequence diagram, execution metadata (date/cost), and summary. |