Action Log Search
action_log_searchSearch ThreatLocker Unified Audit logs by date range, host, user, action, policy, or path, with paging, field selection, and counts for larger investigations.
Instructions
Search the Unified Audit (POST ActionLog/ActionLogGetByParametersV2 with usenewsearch=true) with explicit paging and output shaping — use this instead of action_log_get_by_parameters_v2 for anything larger than a quick look. Required: start_date / end_date (UTC, 'YYYY-MM-DDTHH:MM:SSZ'). source_table_id: 1=ActionLog (default), 2=DenyActionLog, 3=Baseline, 4=EventLog. Filters: hostname (wildcards), full_path (wildcards), username, action_type (execute|install|network|registry|read|write|move|delete|baseline|powershell|elevate|configuration|dns), action_id (1 Permit, 2 Deny, 3 Deny-request, 6 Ringfenced, 99 any deny), policy_id. fields: list of column names to keep per row (case-insensitive), e.g. ['dateTime','hostname','fullPath','policyName']. aggregate_by: return counts instead of rows — server-side groupBys (1–2 fields such as policyName, fullPath, processPath, createdByProcess, hostname, username, applicationName, actionType, sha256) or client-side over paged rows for fullPathFolder / more than two fields (bounded by max_rows). Paging info (page_number, page_size, total_items, total_pages) is always returned. Read-only.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"start_date": "<start_date>",
"end_date": "<end_date>"
},
"name": "action_log_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | ||
| end_date | Yes | UTC end, e.g. 2026-11-08T00:00:00Z | |
| hostname | No | ||
| max_rows | No | ||
| username | No | ||
| action_id | No | ||
| full_path | No | ||
| page_size | No | ||
| policy_id | No | ||
| start_date | Yes | UTC start, e.g. 2026-11-01T00:00:00Z | |
| total_rows | No | totalItems from a previous page; the API needs it for deep multi-page pulls. | |
| action_type | No | ||
| page_number | No | ||
| aggregate_by | No | ||
| aggregate_mode | No | auto | |
| organization_id | No | Override the default organization (ManagedOrganizationId header). | |
| source_table_id | No | ||
| override_organization_id | No | Optional OverrideManagedOrganizationId header. | |
| show_child_organizations | No |