ThreatLocker icon

ThreatLocker

Work with core ThreatLocker portal resources

Policy → List

AI-generated

Summary

List ThreatLocker policies with optional filtering, pagination, and search capabilities.

Inputs

  • Return All — Whether to return all results or limit the number.
  • Limit — Maximum number of policies to return (ignored if Return All is true).
  • Match Filter — Filter policies by match state or attributes such as ringfencing, elevation, and permit status.
  • Only Active — If true, return only active policies.
  • Search — Text to search within the policies.
  • Header Overrides — Optional header overrides including managed organization ID to use for this request instead of the credential default.

Output shape

a list of policy objects

The list can be paginated based on the Return All and Limit inputs. The data is returned as an array of policy records matching the requested filters.

Examples

Example 1: List all policies with ringfencing enabled

Set Match Filter to 'Policies with Ringfencing' and Return All to true.

Example 2: Retrieve up to 50 active policies matching a search term

Set Only Active to true, Search to the desired string, Return All to false, and Limit to 50.

Links

Discussion