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.data_segmentation.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.data_segmentation.models.visibility_criteria.Visibility Criteria(
expression = sailpoint.data_segmentation.models.expression.Expression(
operator = 'EQUALS',
attribute = 'location',
value = sailpoint.data_segmentation.models.value.Value(
type = 'STRING', ),
children = [], ), ),
membership='ALL',
enabled=True,
published=True
)

[Back to top]