Policy >
Security
>
East West Security
>
Distributed Firewall
>
Settings
>
Firewall Identity Store
Get user session data
It will get user session data.
This API is available when using VMware Cloud (AWS, Dell-EMC, Outpost, Hyperscalers) or VMware NSX-T.
Request:
Method:
GET
URI Path(s):
/policy/api/v1/infra/settings/firewall/idfw/user-session-data
Request Headers:
n/a
Query Parameters:
PolicyIdfwEnforcementPointRequestParameters
+
PolicyIdfwEnforcementPointRequestParameters
(
schema
)
Name
Description
Type
Notes
enforcement_point_path
String Path of the enforcement point
enforcement point path, forward slashes must be escaped using %2F.
string
Request Body:
n/a
Example Request:
GET https://<policy-ip>/policy/api/v1/infra/settings/firewall/idfw/user-session-data
Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
IdfwUserSessionDataAndMappings
+
IdfwUserSessionDataAndMappings
(
schema
)
Name
Description
Type
Notes
active_user_sessions
Active user session data list
array of
IdfwUserSessionData
Required
archived_user_sessions
Archived user session data list
array of
IdfwUserSessionData
Required
dir_group_to_user_session_data_mappings
Directory Group to user session data mappings
array of
IdfwDirGroupUserSessionMapping
Required
Example Response:
{ "active_user_sessions": [ { "id": "9540cd6d-8d46-4c20-b2cc-491efc005865", "domain_name": "IDFW0", "user_name": "administrator", "user_id": "10446e86-99c1-43a7-8345-fda90c56291c", "vm_ext_id": "501ae853-9b09-69e3-394a-1af06f7dbfec", "user_session_id": 2, "login_time": 1589165250502, "logout_time": 0 } ], "archived_user_sessions": [ { "id": "96efd394-b4a3-4d18-9f1a-307dfe34bc62", "domain_name": "KCWIN101", "user_name": "Administrator", "user_id": "", "vm_ext_id": "501ae853-9b09-69e3-394a-1af06f7dbfec", "user_session_id": 1, "login_time": 1588750750783, "logout_time": 1588754687486 }, { "id": "c089707e-01a9-494b-a24f-a2ed2516bd66", "domain_name": "IDFWPYQ123", "user_name": "Administrator", "user_id": "", "vm_ext_id": "501ae88d-bf57-0c5f-ac67-54ee37f2a111", "user_session_id": 1, "login_time": 1588756763911, "logout_time": 1588757771517 }, { "id": "be12c765-f333-40be-92cf-8462c86478c8", "domain_name": "IDFW0", "user_name": "administrator", "user_id": "10446e86-99c1-43a7-8345-fda90c56291c", "vm_ext_id": "501ae88d-bf57-0c5f-ac67-54ee37f2a111", "user_session_id": 1, "login_time": 1588758580419, "logout_time": 1588788246942 }, { "id": "9e8ae910-8846-4b63-ac4a-6572ac43a6c1", "domain_name": "IDFW0", "user_name": "administrator", "user_id": "10446e86-99c1-43a7-8345-fda90c56291c", "vm_ext_id": "501ae853-9b09-69e3-394a-1af06f7dbfec", "user_session_id": 2, "login_time": 1588759570683, "logout_time": 1588788406470 }, { "id": "288f8533-7b40-47e7-9435-4d0ea80dee32", "domain_name": "KCWIN101", "user_name": "Administrator", "user_id": "", "vm_ext_id": "501ae853-9b09-69e3-394a-1af06f7dbfec", "user_session_id": 1, "login_time": 1588935137151, "logout_time": 1588964081327 } ], "dir_group_to_user_session_data_mappings": [ { "dir_group_id": "3f94e53f-416b-4abb-aad2-a0af40f8ce52", "user_id": "10446e86-99c1-43a7-8345-fda90c56291c" } ] }
Required Permissions:
read
Feature:
policy_identity
Additional Errors:
404 Not Found
301 Moved Permanently
307 Temporary Redirect
400 Bad Request
403 Forbidden
409 Conflict
412 Precondition Failed
500 Internal Server Error
503 Service Unavailable