cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2152
Views
0
Helpful
2
Replies

Python script to export endpoint and all attributes cisco ise

ggmeza1983
Level 1
Level 1

Hi, can you help me with this?

 

I need to create a script on python to export all endpoint and attributes from cisco ise (2.6), like the export from gui (context visibility - endpoints,. export all).

 

Thanks.

 

Gustavo.

2 Accepted Solutions

Accepted Solutions

Mike.Cifelli
VIP Alumni
VIP Alumni

There are tons of resources that can help you with this journey.  Take a peek at section APIs and Programmability here: Cisco ISE & NAC Resources - Cisco Community

It sounds like you are after the following API (Get All endpoints):

GET | https://x.x.x.x:9060/ers/config/endpoint

I would also recommend to take a peek at the online sdk. https://pan_ip:9060/ers/sdk#

Curl is a good tool for you to gain a better understanding on how to interact with the APIs, and what types of responses you will see before you migrate into a python script.  Good luck & HTH!

 

View solution in original post

thomas
Cisco Employee
Cisco Employee

See ISE ERS API Examples and the ISE API Reference at https://cs.co/ise-api

You may also want to try the ISE APIs, Ansible, and Automation DevNet Learning Lab which will teach you about how to install your Python environment and run a basic script with the API.

View solution in original post

2 Replies 2

Mike.Cifelli
VIP Alumni
VIP Alumni

There are tons of resources that can help you with this journey.  Take a peek at section APIs and Programmability here: Cisco ISE & NAC Resources - Cisco Community

It sounds like you are after the following API (Get All endpoints):

GET | https://x.x.x.x:9060/ers/config/endpoint

I would also recommend to take a peek at the online sdk. https://pan_ip:9060/ers/sdk#

Curl is a good tool for you to gain a better understanding on how to interact with the APIs, and what types of responses you will see before you migrate into a python script.  Good luck & HTH!

 

thomas
Cisco Employee
Cisco Employee

See ISE ERS API Examples and the ISE API Reference at https://cs.co/ise-api

You may also want to try the ISE APIs, Ansible, and Automation DevNet Learning Lab which will teach you about how to install your Python environment and run a basic script with the API.