Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.provisionr.io/llms.txt

Use this file to discover all available pages before exploring further.

Usage

prv policy-condition:create [options]

Aliases

You can also use these shorthand aliases:
  • prv policy-condition:new
  • prv pocon:create
  • prv pocon:new

Options

OptionDescription
-r, --policy_rule_id[=<value>]The Policy Rule ID to create the condition for
--type[=<value>]The type of condition (attribute|manager|user|custom)
-a, --directory_attribute_id[=<value>](Attribute Type) The Directory Attribute ID of the attribute
-m, --manager_id[=<value>](Manager Type) The Directory User ID of the manager (to include all direct reports)
-u, --directory_user_id[=<value>](User Type) The Directory User ID of the specific user to include
--workspace_integration_id[=<value>](Identity Type) The Workspace Integration ID (for the Identities to search)
-d, --directory_dimension_id[=<value>](Identity Type) The Directory Dimension ID (for the profile key selection)
--profile_operator[=<value>](Identity Type) The operator to evaluate with (equals|not|empty|exists|greater|less|prefix|suffix|contains)
--profile_value[=<value>](Identity Type) The profile value in the Identity (ex. attribute profile_value) to evaluate with the operator.
--no_describeDisable describe template to suppress terminal output after creation
--api(Debug) Show the API endpoint and query string in the command header

Examples

Create a condition for a rule interactively

prv policy-condition:create --policy_rule_id=porul_01hq8xyzabc123def456ghi789

Create an attribute condition

prv policy-condition:create --policy_rule_id=porul_01hq8xyzabc123def456ghi789 --type=attribute

Create a manager condition

prv policy-condition:create --policy_rule_id=porul_01hq8xyzabc123def456ghi789 --type=manager

Create a user condition

prv policy-condition:create --policy_rule_id=porul_01hq8xyzabc123def456ghi789 --type=user