Triage

From wyre-technology/msp-claude-plugins · View interactive version

Triage is an AI agent skill from the GitHub repository wyre-technology/msp-claude-plugins. Triaging the SaaS Alerts queue across managed M365 / Google Workspace tenants: the triage tool surface, the critical-first sweep, per-customer summary and cross-tenant pattern workflows, the low/medium/critical severity model and its default dispositions, and the edge cases — legitimately empty resu

How to use this skill

Skill file

SaaS Alerts Triage

Overview

Triage means sweeping the alert queue across all managed customers,

ranking by severity and customer impact, separating true positives from

noise, and handing the on-shift analyst a prioritized, actionable plan.

The SaaS Alerts MCP surface is well-suited to this: event queries are

customer-scoped or cross-tenant, severity is a first-class filter, and

recommended actions are machine-generated per alert.

Anti-triggers

cannot disable an account, revoke sessions, reset MFA, or block a

sign-in. Once triage says act, the remediation surface is cipp-users

and cipp-security — this skill's recommended_actions output is

guidance, not an executable step.

enrolment, or a mailbox rule is actually in place comes from the tenant,

not the alert feed — use cipp-security, cipp-standards, or

m365-security.

are the email-security stack, not SaaS Alerts sign-in telemetry — use

ironscales-incidents.

they carry no process, file, or host detail. Endpoint detections are

sentinelone-alerts or huntress-incidents.

API Tools

| Tool | Role in Triage |

|------|---------------|

| saas_alerts_status | Confirm gateway + upstream connectivity before the sweep |

| saas_alerts_customers_list | Enumerate all managed customers |

| saas_alerts_events_query | Pull events filtered by severity and time window, per customer or all |

| saas_alerts_events_query_advanced | Cross-tenant pattern queries (impossible travel across tenants, bulk sign-in anomalies) |

| saas_alerts_recommended_actions | Fetch the vendor's remediation guidance. Takes no arguments — it returns the full event-type → action mapping, which you match against each alert's event type yourself |

| saas_alerts_users_list_by_customer | Pull one customer's users once, then match IDs against it locally to put a name on an event |

No per-user or per-device lookup exists. An earlier revision of this table

named one of each; the server registers neither

(saas-alerts-mcp/src/domains/users.ts,

saas-alerts-mcp/src/domains/devices.ts). Two consequences for triage:

event. Fetch saas_alerts_users_list_by_customer once for the customer and

resolve every ID in the sweep against that one result. Where the event

already carries a user email, use it directly — saas_alerts_events_query

takes user_email, so you can pivot to that person's other events without

resolving anything. Do not substitute saas_alerts_users_get_msp: it takes

no arguments and returns your own API key's profile, so it will silently

attribute every alert to the MSP.

plugin.** The device tools (saas_alerts_devices_list_orgs,

saas_alerts_devices_list_mapped, saas_alerts_devices_list_unmapped,

saas_alerts_devices_list_ignored) exist to manage device-to-organization

mapping and are keyed by organization_ids, not by an event or a customer.

Report device context only from what the event payload itself carries.

Common Workflows

1 — Critical-first sweep (standard shift start)

  1. saas_alerts_status — confirm connectivity.
  2. saas_alerts_events_query with alert_status: critical and a

24-hour window across all customers.

  1. Call saas_alerts_recommended_actions once — it takes no

arguments and returns the whole event-type → action mapping. Join it

to each alert's event type locally rather than calling it per alert.

  1. Attribute alerts to people: use the event's own user_email where it

is present, and for the rest pull

saas_alerts_users_list_by_customer once per affected customer and

match IDs against that result.

  1. Produce a ranked table: customer | alert type | user | recommended action | disposition.

2 — Per-customer summary

  1. saas_alerts_customers_list → select the target customer.
  2. saas_alerts_events_query scoped to customer_id for the last 7 days.
  3. Roll up: count by alert_status, top event types, affected users.
  4. Flag any customer with a new alert type not seen in the prior window.

3 — Cross-tenant pattern detection

  1. saas_alerts_events_query_advanced with a pattern filter (e.g.,

impossible_travel or bulk_delete) across all customers.

  1. Group by customer and user to identify whether an attacker pattern

spans multiple tenants.

  1. Escalate immediately if the same user identity (email) appears in

critical events across two or more customers — credential compromise

indicator.

Severity Model

| Level | Meaning | Default Disposition |

|-------|---------|---------------------|

| critical | High-confidence attack or active compromise | Investigate immediately; escalate to client |

| medium | Suspicious but may be legitimate; needs review | Review within shift |

| low | Informational or likely benign | Batch review; lower priority |

Always start with critical. Do not skip medium — attackers often

generate medium-severity events as precursors.

Edge Cases

events for a customer, that is the correct answer. Do not fabricate

alerts. The emptyGuard isError signal in the MCP server will surface

if the tool call itself failed rather than legitimately returning empty.

show many events at a 24-hour window. Always state the time window in

your output.

customer whitelists. If an expected alert is missing, check

saas_alerts_customers_get for whitelist configuration.

per-partner rate limits that can trigger during large multi-tenant sweeps.

Best Practices

without customer attribution is not actionable for an MSP.

strategic importance break ties. State the ranking logic.

saas_alerts_recommended_actions mapping — the analyst should not have

to make a separate tool call.

normally generates five events per day suddenly generating fifty is

itself a signal regardless of individual severity.

confirmed with the operator before execution.

Related Skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.