Cases Management Skill
A Case groups related alert events into one investigation unit with a status, priority, category, and assignee. Use this skill to inspect cases and drive them through their lifecycle (active → acknowledged → resolved → closed).
CLI Commands
Case Lifecycle
Categories: AVAILABILITY or SECURITY. Priorities: P1 (highest) → P5.
Triage Workflow
- Inspect —
cx cases get <id>. The payload includesgroupings,labels,impactedEntities,kpiBreaches,aiSummary, and bothpriorityDetails.system(computed) andpriorityDetails.override(user-set). - Investigate — Pull the underlying telemetry by querying the alert's DataPrime / PromQL to find root cause before acting.
Optionally export the investigation via
cx ollyor pull the case'simpactedEntities/groupingsto confirm the impact. See thecx-telemetry-queryingskill. - Claim —
cx cases assign <id> --user [email protected]thencx cases acknowledge <id>. - Record findings —
cx cases comment <id> --text "<note>"to leave investigation notes on the timeline (root cause, links, next steps) as you go. Comments appear ascommentevents incx cases events list. - Resolve or close — see below.
- Re-prioritize if impact differs from the computed value —
cx cases set-priority <id> --priority P1/clear-priority. Only possible while the case is still open; priority cannot be overridden once a case isRESOLVEDorCLOSED.
Resolving
Resolution is irreversible (a RESOLVED case can only move to CLOSED), so
the CLI requires both a reason and a confirmation:
- Pass
--reason "<text>"— a one-line postmortem (root cause, what fixed it, follow-up) visible to teammates in the timeline. Use--no-reasononly when a reason genuinely doesn't apply. - In agent / non-interactive mode, also pass
--yes; without it the command refuses and must be handed to the user to run interactively.
If uncertain, stay in ACKNOWLEDGED (reversible via unacknowledge) until
confident. For non-resolution edits (title, post-hoc postmortem link), use
cx cases update.
Bulk Operations
There are no bulk endpoints. To act on many cases, pipe IDs through a loop, e.g.
... | jq -r '.[].id' | xargs -I {} cx cases acknowledge {}.
Key Principles
- Use emails, never user IDs — for
assign --userand in all output. resolveis irreversible andcloseis terminal — confirm before resolving; for false alarmsclosefromACTIVEdirectly.- Always supply a resolution reason unless
--no-reasontruly applies. P1-style shorthand is accepted anywhere a priority/status/category is expected.- Multi-profile fan-out with
-p <profile>(repeatable) for cross-environment triage. - Link to a specific case — build
<base>/cases?id=<case_id>, where<base>is the console URL already seen in a `View in Coralogix: <base>/...` line printed by any `cx cases` command this session — never fabricate `<base>` yourself.
References
- Case analytics:
references/case-analytics.md[blocked] - Single case investigation:
references/single-case.md[blocked]
Related Skills
cx-alerts— the alert definitions behind the events grouped into a case.cx-slos— the SLO definitions whose breaches drive reliability cases.cx-telemetry-querying— pivot from a case's impacted entities into logs/spans/metrics.


