Policy List
policy_listList and filter ThreatLocker allowlisting policies by organization, computer group, computer, application, status, OS, and policy type to review enforcement and scope.
Instructions
List Allowlisting policies with filters (POST Policy/PolicyGetByParameters, or Policy/PolicyGetForViewPoliciesByApplicationId when application_id is given). applies_to: 'organization' (entire-org policies), a computer-group GUID or a computer GUID; omit for all levels. search_text is a case-insensitive name search. include_inactive includes disabled/expired policies. show_all_policies also returns higher-level policies that affect the selected location. filter: '' | nomatch | match | oversixweeks | ringfence | noringfence | elevation | permitonly | inherit | monitor | secured. os_type (default 1=Windows) applies when no applies_to is given. With compact=true (default) each row is reduced to policyId, name, orderBy, action, isEnabled, appliesTo, policyLevel (organization/computer_group/computer), lastMatch, applications; compact=false returns raw rows. Read-only.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "policy_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | ||
| compact | No | ||
| os_type | No | ||
| page_size | No | ||
| applies_to | No | ||
| page_number | No | ||
| search_text | No | ||
| application_id | No | ||
| organization_id | No | Override the default organization (ManagedOrganizationId header). | |
| include_inactive | No | ||
| show_all_policies | No | ||
| override_organization_id | No | Optional OverrideManagedOrganizationId header. |