DriveLock API icon

DriveLock API

Consume DriveLock API

Application Rule → Create Behavior Rules

AI-generated

Summary

Create application behavior rules within a specified DriveLock policy configuration.

Inputs

  • Config ID (required) — The unique identifier of the DriveLock policy configuration to which the behavior rules will be added.
  • Config Version — The version number of the policy to update; use 0 to target the latest version.
  • Rules (required) — A JSON array representing the application behavior rules to create.

Output shape

An object containing the response data from the DriveLock API after creating the behavior rules.

The operation returns the API's response data which may include identifiers or status of the created behavior rules.

Examples

Example 1: Create new application behavior rules under a specific policy

Specify the existing policy ID (Config ID) and optionally the Config Version (or 0 for latest), provide a JSON array of behavior rules to create in the 'Rules' parameter. The node sends this data to DriveLock API, creating the rules in that policy version.

Links

Discussion