Skip to main content

DataSegment

Properties

NameTypeDescriptionNotes
idstrThe segment's ID.[optional]
namestrThe segment's business name.[optional]
createddatetimeThe time when the segment is created.[optional]
modifieddatetimeThe time when the segment is modified.[optional]
descriptionstrThe segment's optional description.[optional]
scopes[]ScopeList of Scopes that are assigned to the segment[optional]
member_selection[]RefList of Identities that are assigned to the segment[optional]
member_filterVisibilityCriteria[optional]
membershipMembershipType[optional]
enabledboolThis boolean indicates whether the segment is currently active. Inactive segments have no effect.[optional] [default to False]
publishedboolThis boolean indicates whether the segment is being applied to the accounts. If unpublished its being actively modified to until published[optional] [default to False]
}

Example

from sailpoint.v2024.models.data_segment import DataSegment

data_segment = DataSegment(
id='0f11f2a4-7c94-4bf3-a2bd-742580fe3bde',
name='segment-xyz',
created='2020-01-01T00:00Z',
modified='2020-01-01T00:00Z',
description='This segment represents xyz',
scopes=[{scope=ENTITLEMENT, visibility=SELECTION, scopeFilter=null, scopeSelection=[{type=ENTITLEMENT, id=34d73f611449463ea4fdcf02cda0c397}]}],
member_selection=[{type=IDENTITY, id=29cb6c061da843ea8be4b3125f248f2a}, {type=IDENTITY, id=f7b1b8a35fed4fd4ad2982014e137e19}],
member_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 = [], ), ),
membership='ALL',
enabled=True,
published=True
)

[Back to top]