cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2218
Views
0
Helpful
3
Replies

Cisco ISE Bulk Endpoint Update via Python

MikeKilo
Level 1
Level 1

Hey guys,

 

I think I posted my original question in the wrong community.

 

I'm by no means a Python dev, so I hope I'm able to explain myself clearly. I'm trying to use the Python example I was given below.

https://community.cisco.com/t5/security-documents/ise-ers-api-examples/ta-p/3622623#toc-hId--1168612210

 

What I need to get this script to do, is read the endpoints from a CSV and post the updates to ISE in bulk.

 

To simplify I guess, I want to Bulk update my endpoints I have in ISE with the new IdentityGroup and AuthorizationPolicyMatchedRule using a script.

 

Cisco apparently doesn't have such a script or a template to bulk update. Does anyone here have something like that please?

 

Thanks in advance.

3 Replies 3

ross
Level 1
Level 1

Hi,  

If you use the SDK browser on your ISE installation (...:9060/ers/sdk), there is a whole section on Bulk operations.  

Just an FYI, Bulk only supports XML, it does NOT support JSON.  

 

ise-bulk.png

MikeKilo
Level 1
Level 1

I see that SDK doesn't provide an xml template to do a bulk update. It appears that it only shows that it is possible. Where does one get one of the xml templates?

You would do a endpoint/bulk/{bulkid}

 

and the result would be your example.  Modify the xml with Python and then bulk/submit.

Brian S. Turner
CCIE 6145