/liongard:detectionsfrom liongard
Helps investigate configuration changes, tune alert rules, define compliance metrics, and pull audit-trail events from Liongard. Useful for MSPs monitoring infrastructure changes.
Ships in liongard. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Detections are Liongard's automated change and anomaly detection system. Every time an inspection runs, Liongard compares the new data with previous inspection results and identifies changes. Those changes become detections that MSPs monitor, investigate, and act upon. Around detections sit alerts (configurable rules that turn detections into notifications), metrics (custom measurements evaluated across systems for compliance reporting), and the timeline (a platform-wide audit trail of inspections, detections, and user actions).
huntress-signals, huntress-incidents, sentinelone-alerts, or
rocketcyber-incidents.atera-alerts,
superops-alerts, ncentral-monitoring-tasks,
ninjaone-alerts, or datto-rmm-alerts.scalepad-controlmap.liongard-inspections.A detection records a specific change identified between inspection runs. Examples:
| Type | Description | Example |
|---|---|---|
Added | New item discovered | New user account created |
Removed | Item no longer present | Device removed from network |
Changed | Existing item modified | Firewall rule updated |
Threshold | Value crossed a defined threshold | Disk usage exceeded 90% |
| Severity | Description | Typical Use |
|---|---|---|
Critical | Immediate action required | Security policy disabled, admin account compromised |
High | Urgent attention needed | MFA disabled, backup failure |
Medium | Review within business hours | Configuration change, new admin user |
Low | Informational but notable | New standard user, minor setting change |
Info | Routine change logged | Regular updates, expected modifications |
New ───────────────────> Dismissed
| |
v v
Acknowledged ──────> Resolved
Each detection carries a Details object holding the Before and After values of whatever changed — that is the payload worth reading when investigating.
See references/fields.md for the complete detection field reference, the full timeline event-type catalog, and the entity relationship map.
Alert rules define which detections should trigger notifications. A rule specifies which environments to monitor, what detection types and severities to watch for, what conditions must be met, and what notification channels to use (email, webhook, or integration target). Rules can be enabled/disabled without deletion, and each firing produces a triggered alert record linked back to the originating detection.
Metrics are custom measurements tracked across systems and environments. A metric binds an InspectorID, a JMESPath Expression evaluated against a system's detail data (e.g. Data.PasswordPolicy.MinimumLength), and a Threshold plus comparison Operator. Evaluation returns a Value and a Compliant boolean per system, which is what drives compliance reporting and trend analysis.
The timeline is a comprehensive audit trail of all events within Liongard — inspection runs, detection triggers, user actions, configuration changes, and agent connectivity events.
The full endpoint catalog with request/response bodies lives in references/api.md. The non-obvious parts:
POST /api/v1/detections and POST /api/v2/timelines-query take a JSON filter body. Only the v1 timeline (GET /api/v1/timeline) is a plain GET with query params.conditions: [{path, op, value}] with orderBy: [{path, direction}]. Operators include eq, in, and gte. Timestamps are ISO-8601 UTC strings.Pagination is PascalCase and nested — {"Pagination": {"Page": 1, "PageSize": 100}}. Response envelopes are PascalCase too: Data, TotalRows, HasMoreRows, CurrentPage, TotalPages, PageSize. Page through until HasMoreRows is false.fields array for field selection on detections — use it to cut response size when you only need a few columns.GET/POST/PUT/DELETE on /api/v1/alerts and /api/v1/metrics), but metric evaluation is v2-only: POST /api/v2/metrics/evaluate (one metric across all applicable systems) and POST /api/v2/metrics/evaluate-systems (all metrics for a given SystemIDs list).Conditions are keyed by field name with array values ({"Severity": ["Critical"], "Type": ["Changed", "Removed"]}) — a different shape from the conditions array used by detection queries. Don't mix them up.See references/examples.md for a worked detection-fetch-and-categorize implementation.
See references/errors.md for the complete API and metric-evaluation error tables.
What SKILL.md sets; muted values are Claude Code's defaults
When investigating configuration changes, tuning alert rules, defining or evaluating compliance metrics, or pulling audit-trail events from a Liongard instance. Use when: liongard detection, liongard change, liongard alert, liongard metric, liongard timeline, change monitoring liongard, liongard anomaly, liongard compliance, or liongard audit.
Three short reads, in order
liongard, change-detection, alert-rules, compliance-metrics, audit-trail, msp
5 skills in this plugin
/environmentsLiongard EnvironmentsLiongard environments — the per-customer containers that own all agents, launchpoints, systems, detections, and metrics. Covers environment CRUD, the lightweight count endpoint, v2 environment groups, tiering, related-entity lookups, and integration mappings to PSA/RMM platforms.
/inspectionsLiongard InspectionsLiongard's inspection pipeline: inspector templates and their credential and agent requirements, launchpoint configuration that binds inspector + environment + agent + credentials + cron schedule, on-demand inspection runs and their status lifecycle, and the failure modes behind failed runs.
/overviewnpx claudepluginhub wyre-ai/msp-claude-plugins --plugin liongardOther plugins' skills for the same job