Cisco ISE API Filters Tidbit

I want to briefly share a few "good-to-knows" when it comes to supported API filters when consuming ISE APIs.


As we know in your request you would have something along the lines of this:


https://<ise_pan_node>:9060/ers/config/networkdevice?filter=location.STARTSW.Cifelli


You have the ability to sort using the following filters:


EQ: Equals

NEQ: Not Equals

GT: Greater Than

LT: Less Then

STARTW: Starts With

NSTARTSW: Not Starts With

ENDSW: Ends With

NENDSW: Not Ends With

CONTAINS: Contains

NCONTAINS: Not Contains


So if we wanted to do an Equal filter when searching for an endpoint group it would look like this:

endpointgroup?filter=name.EQ.Cifelli_Lab_EP_Group


Or, if we wanted to do search for a group that contains a string we can use something like the following:

endpointgroup?filter=name.CONTAINS.Cifelli_Lab


I definitely recommend playing with the filters to meet your unique desires. Curl is a good command line tool for quickly testing. Lastly, remember to check the ISE SDK!


Cheers!

0 comments

Recent Posts

See All

Dual Hub FlexVPN Error Tidbit

Sharing an issue that took me some time to troubleshoot & figure out in my dual hub single cloud FlexVPN lab/post (see here: Configuring & Verifying FlexVPN Redundancy with Dual Hub & Single Cloud). S

FlexVPN Redundancy Tidbit

I want to cover the most commonly used FlexVPN redundancy designs since I intend on building out a few scenarios to play with for studying purposes. The most common designs include: Dual cloud approa

IKEv2 Configuration Payload Tidbit

In this tidbit I want to cover what IKEv2 configuration payloads are & why they are needed. So it is sometimes desirable for the hub in hub & spoke topologies to provide configuration data to the spo

#learnITwithCifelli

© 2023 by Train of Thoughts. Proudly created with Wix.com