Policy > Security > East West Security > Distributed Firewall > Settings > Firewall Identity Store

Get IDFW user login events for a given user

It will get IDFW user login events for a given user.
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-stats/<user-id>
Request Headers:
n/a
Query Parameters:
PolicyIdfwEnforcementPointRequestParameters+
Request Body:
n/a

Example Request:

GET https://<policy-ip>/policy/api/v1/infra/settings/firewall/idfw/user-stats/<user-id>

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
IdfwUserStats+

Example Response:

{ "active_sessions": [{ "domain_name": "nimbustest.com", "vm_ext_id": "a6bc2d10-e98c-4a0c-a2e7-936eaec657e0", "user_id": { "is_valid": true, "target_type": "DirectoryUser", "target_id": "bee4cf12-9cb8-4b24-8604-a088d12efe0d" }, "user_name": "test6", "login_time": 1539209859091, "logout_time": 0, "user_session_id": 2 }], "user": { "is_valid": true, "target_type": "DirectoryUser", "target_id": "bee4cf12-9cb8-4b24-8604-a088d12efe0d" }, "archived_sessions": [{ "domain_name": "nimbustest.com", "vm_ext_id": "a6bc2d10-e98c-4a0c-a2e7-936eaec657e0", "user_id": { "is_valid": true, "target_type": "DirectoryUser", "target_id": "bee4cf12-9cb8-4b24-8604-a088d12efe0d" }, "user_name": "test6", "login_time": 1539209850318, "logout_time": 1539209852692, "user_session_id": 1 }] }

Required Permissions:

read

Feature:

policy_identity

Additional Errors: