Skip to main content

Machineidentityv2

Properties

NameTypeDescriptionNotes
idstrSystem-generated unique ID of the Object[optional] [readonly]
namestrName of the Object[required]
createddatetimeCreation date of the Object[optional] [readonly]
modifieddatetimeLast modification date of the Object[optional] [readonly]
descriptionstrDescription of the machine identity.[optional]
attributesmap[string]objectA map of custom machine identity attributes.[optional]
connector_attributesmap[string]objectA map of attributes sourced from the connector during aggregation.[optional]
manually_editedboolIndicates if the machine identity has been manually edited.[optional] [default to False]
manually_createdboolIndicates if the machine identity has been manually created.[optional] [default to False]
ownersMachineIdentityOwnersV2[optional]
subtypestrThe subtype value associated to the machine identity.[optional]
source_idstrThe source id associated to the machine identity.[optional]
uuidstrThe UUID associated to the machine identity directly aggregated from a source.[optional]
native_identitystrThe native identity associated to the machine identity directly aggregated from a source.[optional]
dataset_idstrThe dataset id associated to the source from which the identity was retrieved.[optional]
environmentstrThe environment the machine identity belongs to.[optional]
exists_on_sourcestrIndicates whether the machine identity still exists on the source.[optional]
statusstrOperational status read from stored attributes.status; null when absent.[optional]
resourceResourceV2[optional]
sourceMachineIdentityV2Source[optional]
user_entitlements[]UserEntitlementV2The user entitlements associated to the machine identity.[optional]
business_application_refs[]BusinessApplicationRefOptional Business Application references associated with this machine identity. Available when Business Applications is enabled for the tenant. On create and patch, at most one reference is allowed and is persisted as a MANUAL correlation. When Business Applications is not enabled, this field is null on responses and is rejected (400) if supplied on write.[optional]
effective_sanctioned_statusSanctionedStatusDerived sanctioned status from linked Business Applications; UNKNOWN when no refs are present. Available when Business Applications is enabled for the tenant; null when it is not enabled. Read-only on create and patch input.[optional] [readonly]
riskMachineIdentityV2Risk[optional]
}

Example

from sailpoint.machine_identities.models.machineidentityv2 import Machineidentityv2

machineidentityv2 = Machineidentityv2(
id='id12345',
name='aName',
created='2015-05-28T14:07:17Z',
modified='2015-05-28T14:07:17Z',
description='Service account for nightly batch jobs',
attributes={"privilegeLevel":"HIGH","region":"APAC"},
connector_attributes={"objectguid":"abc-123"},
manually_edited=True,
manually_created=True,
owners=sailpoint.machine_identities.models.machine_identity_owners_v2.Machine Identity Owners V2(
primary = null,
secondary = [{"id":"2c9180858082150f0180893dbaf44202","name":"Jane Doe","type":"IDENTITY"}], ),
subtype='AI_AGENT',
source_id='6d28b7c1-620c-49c6-b6d5-cbf81eb4b5fa',
uuid='f5dd23fe-3414-42b7-bb1c-869400ad7a10',
native_identity='abc:123:dddd',
dataset_id='8886e5e3-63d0-462f-a195-d98da885b8dc',
environment='PRODUCTION',
exists_on_source='TRUE',
status='ACTIVE',
resource=sailpoint.machine_identities.models.resource_v2.Resource V2(
id = '8886e5e3-63d0-462f-a195-d98da885b8dc',
type = 'aws:iam-role',
name = 'nightly-batch-role',
features = ["PROVISIONING","AUTHENTICATION"], ),
source=,
user_entitlements=[
sailpoint.machine_identities.models.user_entitlement_v2.User Entitlement V2(
source_id = '5898b7c1-620c-49c6-cccc-cbf81eb4bddd',
entitlement_id = '6d28b7c1-620c-49c6-b6d5-cbf81eb4b5fa',
display_name = 'Entitlement Name',
source = null, )
],
business_application_refs=[
sailpoint.machine_identities.models.business_application_ref.Business Application Ref(
type = 'BUSINESS_APPLICATION',
id = '2ee5e239-e68c-4d69-93fb-6c7ce4576190',
name = 'Cursor',
sanctioned_status = SANCTIONED,
correlation_type = MANUAL, )
],
effective_sanctioned_status='SANCTIONED',
risk=sailpoint.machine_identities.models.machine_identity_v2_risk.Machine_Identity_V2_risk(
score = 72.5,
severity = 'HIGH', )
)

[Back to top]