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

1.4 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-scope Scope Scope Scope pythonsdk
python
Python
sdk
Scope
V2024Scope
/tools/sdk/python/v2024/models/scope
SDK
Software Development Kit
Scope
V2024Scope

Scope

This defines what access the segment is giving

Properties

Name Type Description Notes
scope ScopeType [optional]
visibility ScopeVisibilityType [optional]
scope_filter VisibilityCriteria [optional]
scope_selection []Ref List of Identities that are assigned to the segment [optional]
}

Example

from sailpoint.v2024.models.scope import Scope

scope = Scope(
scope='ALL',
visibility='ALL',
scope_filter=sailpoint.v2024.models.visibility_criteria.VisibilityCriteria(
                    expression = sailpoint.v2024.models.expression.Expression(
                        operator = 'EQUALS', 
                        attribute = 'location', 
                        value = sailpoint.v2024.models.value.Value(
                            type = 'STRING', ), 
                        children = [], ), ),
scope_selection=[{type=IDENTITY, id=29cb6c061da843ea8be4b3125f248f2a}, {type=IDENTITY, id=f7b1b8a35fed4fd4ad2982014e137e19}]
)

[Back to top]