Skip to main content

Search resources and groups to add to a policy

GET 

/api/v1/ProtectionPolicy/SearchResourceCandidates

Returns a page of resources, resource groups or secret vaults on Windows or Linux platforms that can be added to a protection policy. Use entityType to choose what to search for; when a policy is given, resources already directly in that policy are left out, but resource groups already in it are still listed.

Permission required: Administrators and application accounts.

Values for entityType: 0 = Resource, 1 = ResourceGroup, 2 = SecretVault.

Request​

Responses​

An object with data (the matching rows, each with id, name, platformId, dnsHostName, os, activeSessionCount, entityType and related identifiers) and recordsTotal.