DriveLock API icon

DriveLock API

Consume DriveLock API

Application Rule → Get Rules

AI-generated

Summary

Retrieve application rules from a specified DriveLock policy configuration version.

Inputs

  • Config ID (required) — The unique identifier of the DriveLock policy from which to retrieve application rules.
  • Config Version — The version number of the policy configuration to retrieve rules from; use 0 to get the latest version.

Output shape

an object containing the retrieved application rules data

Returns the data property from DriveLock API's GET /api/administration/applicationControl/rules/{configId}. The operation accepts the configVersion as an optional query parameter to specify the policy version; a value of 0 requests the latest version.

Examples

Example 1: Retrieve the latest application rules for policy 'config-1234'

Set Config ID to 'config-1234' and Config Version to 0 (or omit). On execution, the node returns the application rules associated with that policy.

Links

Discussion