cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Bookmark
|
Subscribe
|
621
Views
5
Helpful
1
Replies

ISE REST API for Endpoint lifecycle management

ataha
Cisco Employee
Cisco Employee

Request: 
A potential customer wants to use ISE REST API for Enpoint Life-cycle management but currently it seems that there are some attributes missing: 
- Timestamps (last seen, first seen) 
- List all members of a specific Enpoint Group 
Are we missing anything? In case the attributes are really missing, are there any plans to implement them in future releases? 

1 Accepted Solution

Accepted Solutions

Cory Peterson
Level 5
Level 5

Last/first seen is available if you do a full endpoint report export from the CLI, not the easiest place to get it, but it is there. 

 

As for Group membership you should be able to pull that using an endpoint search based on the groupID.

 

The following two API calls can gather the needed info:

This will give you a list of all endpoint groups so you can find the groupId:

https://ise01.lab.local:9060/ers/config/endpointgroup

 

This will give you a list of the endpoint in the group:

https://ise01.lab.local:9060/ers/config/endpoint?page=1&size=50&filter=groupId.EQ.2f0fc9f0-222f-11e6-99ab-005056b55ff0

 

View solution in original post

1 Reply 1

Cory Peterson
Level 5
Level 5

Last/first seen is available if you do a full endpoint report export from the CLI, not the easiest place to get it, but it is there. 

 

As for Group membership you should be able to pull that using an endpoint search based on the groupID.

 

The following two API calls can gather the needed info:

This will give you a list of all endpoint groups so you can find the groupId:

https://ise01.lab.local:9060/ers/config/endpointgroup

 

This will give you a list of the endpoint in the group:

https://ise01.lab.local:9060/ers/config/endpoint?page=1&size=50&filter=groupId.EQ.2f0fc9f0-222f-11e6-99ab-005056b55ff0