Files
developer.sailpoint.com/docs/tools/sdk/python/Reference/V2024/Models/RoleCriteriaLevel2.md
2025-02-20 12:59:19 -05:00

2.3 KiB

id, title, pagination_label, sidebar_label, sidebar_class_name, keywords, slug, tags
id title pagination_label sidebar_label sidebar_class_name keywords slug tags
v2024-role-criteria-level2 RoleCriteriaLevel2 RoleCriteriaLevel2 RoleCriteriaLevel2 pythonsdk
python
Python
sdk
RoleCriteriaLevel2
V2024RoleCriteriaLevel2
/tools/sdk/python/v2024/models/role-criteria-level2
SDK
Software Development Kit
RoleCriteriaLevel2
V2024RoleCriteriaLevel2

RoleCriteriaLevel2

Defines STANDARD type Role membership

Properties

Name Type Description Notes
operation RoleCriteriaOperation [optional]
key RoleCriteriaKey [optional]
string_value str String value to test the Identity attribute, Account attribute, or Entitlement specified in the key w/r/t the specified operation. If this criteria is a leaf node, that is, if the operation is one of EQUALS, NOT_EQUALS, CONTAINS, STARTS_WITH, or ENDS_WITH, this field is required. Otherwise, specifying it is an error. [optional]
children []RoleCriteriaLevel3 Array of child criteria. Required if the operation is AND or OR, otherwise it must be left null. A maximum of three levels of criteria are supported, including leaf nodes. Additionally, AND nodes can only be children or OR nodes and vice-versa. [optional]
}

Example

from sailpoint.v2024.models.role_criteria_level2 import RoleCriteriaLevel2

role_criteria_level2 = RoleCriteriaLevel2(
operation='EQUALS',
key=sailpoint.v2024.models.role_criteria_key.RoleCriteriaKey(
                    type = 'ACCOUNT', 
                    property = 'attribute.email', 
                    source_id = '2c9180867427f3a301745aec18211519', ),
string_value='carlee.cert1c9f9b6fd@mailinator.com',
children=[
                    sailpoint.v2024.models.role_criteria_level3.RoleCriteriaLevel3(
                        operation = 'EQUALS', 
                        key = sailpoint.v2024.models.role_criteria_key.RoleCriteriaKey(
                            type = 'ACCOUNT', 
                            property = 'attribute.email', 
                            source_id = '2c9180867427f3a301745aec18211519', ), 
                        string_value = 'carlee.cert1c9f9b6fd@mailinator.com', )
                    ]
)

[Back to top]