ThreatLocker System Audit
system_auditTrack ThreatLocker portal admin actions (logins, policy changes, approvals) by querying audit logs. Filter to find failed logins or specific admin changes.
Instructions
Query ThreatLocker portal audit logs.
System audit tracks administrator actions in the ThreatLocker portal: logins, policy changes, approvals, configuration modifications. This is different from action_log which tracks endpoint events.
Common workflows:
Find all logins in date range: action=search, startDate="...", endDate="...", auditAction=Logon
Find failed login attempts: action=search, ..., auditAction=Logon, effectiveAction=Denied
Find changes by a specific admin: action=search, ..., username="admin@company.com"
Find policy modifications: action=search, ..., auditAction=Modify, details="policy"
Get health center dashboard: action=health_center, days=7
Search health center by location: action=health_center, searchText="lat:X&long:Y"
Audit actions: Create (new objects), Delete (removals), Logon (portal access), Modify (changes), Read (views). Supports * wildcard in text fields.
Permissions: View System Audit, View Health Center. Pagination: search and health_center actions are paginated (use fetchAllPages=true to auto-fetch all pages). Key response fields: systemAuditId, username, action, effectiveAction, details, ipAddress, dateTime.
Related tools: action_log (endpoint events, not portal events), organizations (filter by org)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Number of days for health_center (default: 7, min: 1, max: 365) | |
| action | Yes | search=query audit logs with filters, health_center=health dashboard data | |
| details | No | Filter by details text (wildcards supported) | |
| endDate | No | End date (ISO 8601 UTC) | |
| objectId | No | Filter by specific object GUID | |
| pageSize | No | Results per page (default: 25, max: 500) | |
| username | No | Filter by admin email address (maps to the API emailAddress field; wildcards supported) | |
| ipAddress | No | Filter by IP address | |
| startDate | No | Start date (ISO 8601 UTC) | |
| pageNumber | No | Page number (default: 1) | |
| searchText | No | Search text for health_center | |
| auditAction | No | Filter by audit action type | |
| fetchAllPages | No | Fetch all pages automatically (max 10 pages). Default: false (single page). | |
| effectiveAction | No | Filter by effective action | |
| response_format | No | Output format: markdown (default, human-readable) or json (structured) | markdown |
| viewChildOrganizations | No | Include child organizations (default: false) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Response data — shape varies by action | |
| error | No | ||
| success | Yes | ||
| pagination | No |