Get Case Activity

elastic_security.find_case_activity
ActionBusiness appsconnection required

Calls the Elastic Security API with the connection's credentials.

Page through a case's audit trail of user actions and status changes.

Connection

Required
Yes — the node will not save without one
Auth type
API key
Providers
Elastic Security
Secret shape
the Kibana API key ("ApiKey <encoded>" or the bare encoded value), or {"api_key": "…"}
Config it needs
kibana_url, space_id, owner
Resolved by
config.connection_id, else node.connection_id

Configuration

5 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
case_id
Identifier of the case, as returned by Create Case or Search Cases.
stringYes——1b4f9a10-8c2e-11ee-9c3a-0242ac120002
types
Restrict the trail to these user-action types, such as status or comment.
arrayNo—array of string—
sort_order
Order the results are returned in.
stringNodescone of "desc", "asc"—
page
Page of results to return, counting from 1.
numberNo11–10000—
per_page
How many results to return per page. Kibana caps this at 100.
numberNo201–100—

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "case_id": "1b4f9a10-8c2e-11ee-9c3a-0242ac120002",
  "page": 1,
  "per_page": 20,
  "sort_order": "desc"
}

Output

One shape.

result

FieldTypeExample
user_actions
The user actions on this page.
array—
count
How many records this page actually returned.
number—
page
The page number Kibana served.
number—
per_page
The page size Kibana served.
number—
total
How many records match the query in total.
number—
{
  "count": 0,
  "page": 0,
  "per_page": 0,
  "total": 0,
  "user_actions": []
}

See Get Case Activity run in a workflow.

In a technical demo we add the Elastic Security connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.