incident_io_client.models.audit_logs_user_role_memberships_updated_v1_response_body
AuditLogsUserRoleMembershipsUpdatedV1ResponseBody
Example
{'action': 'user.role_memberships_updated', 'actor': {'id': '01FCNDV6P870EA6S7TK1DSYDG0', 'metadata': {'user_base_role_slug': 'admin', 'user_custom_role_slugs': 'engineering,security'}, 'name': 'John Doe', 'type': 'user'}, 'context': {'location': '1.2.3.4', 'user_agent': 'Chrome/91.0.4472.114'}, 'metadata': {'after_base_role_slug': 'owner', 'after_custom_role_slugs': 'engineering,data', 'before_base_role_slug': 'admin', 'before_custom_role_slugs': 'engineering,security'}, 'occurred_at': '2021-08-17T13:28:57.801578Z', 'targets': [{'id': '01FCNDV6P870EA6S7TK1DSYDG0', 'name': 'Bob the builder', 'type': 'user'}], 'version': 1}
Attributes:
Name | Type | Description |
---|---|---|
action |
str
|
The type of log entry that this is Example: user.role_memberships_updated. |
actor |
AuditLogActorV2
|
Example: {'id': '01FCNDV6P870EA6S7TK1DSYDG0', 'metadata': {'user_base_role_slug': 'admin', 'user_custom_role_slugs': 'engineering,security'}, 'name': 'John Doe', 'type': 'user'}. |
context |
AuditLogEntryContextV2
|
Example: {'location': '1.2.3.4', 'user_agent': 'Chrome/91.0.4472.114'}. |
metadata |
AuditLogUserRoleMembershipChangedMetadataV2
|
Example: {'after_base_role_slug': 'owner', 'after_custom_role_slugs': 'engineering,data', 'before_base_role_slug': 'admin', 'before_custom_role_slugs': 'engineering,security'}. |
occurred_at |
datetime
|
When the entry occurred Example: 2021-08-17T13:28:57.801578Z. |
targets |
List[AuditLogTargetV2]
|
The custom field that was created Example: [{'id': '01FCNDV6P870EA6S7TK1DSYDG0', 'name': 'Bob the builder', 'type': 'user'}]. |
version |
int
|
Which version the event is Example: 1. |
Source code in incident_io_client/models/audit_logs_user_role_memberships_updated_v1_response_body.py
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 |
|