Name | Type | Description | Notes |
---|---|---|---|
key | String | A unique id by which Permit will identify the condition set. The key will be used as the generated rego rule name. | |
r#type | Option<models::ConditionSetType> | the type of the set: UserSet or ResourceSet | [optional][default to Userset] |
autogenerated | Option<bool> | whether the set was autogenerated by the system. | [optional][default to false] |
resource_id | Option<models::ResourceId> | [optional] | |
id | uuid::Uuid | Unique id of the condition set | |
organization_id | uuid::Uuid | Unique id of the organization that the condition set belongs to. | |
project_id | uuid::Uuid | Unique id of the project that the condition set belongs to. | |
environment_id | uuid::Uuid | Unique id of the environment that the condition set belongs to. | |
created_at | String | Date and time when the condition set was created (ISO_8601 format). | |
updated_at | String | Date and time when the condition set was last updated/modified (ISO_8601 format). | |
resource | Option<models::ResourceRead> | [optional] | |
name | String | A descriptive name for the set, i.e: 'US based employees' or 'Users behind VPN' | |
description | Option<String> | an optional longer description of the set | [optional] |
conditions | Option<serde_json::Value> | a boolean expression that consists of multiple conditions, with and/or logic. | [optional][default to {}] |
parent_id | Option<models::ParentId> | [optional] |