11-17-2021 05:01 AM
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.
Solved! Go to Solution.
11-17-2021 05:38 AM
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!
11-17-2021 06:55 AM
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.
11-17-2021 05:38 AM
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!
11-17-2021 06:55 AM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide