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

Email Security - S/MIME Tidbit

So it has definitely been a minute since I produced a tidbit. Lately I have been investing personal time into email security. The topics that I have covered thus far are in no particular order, but

November 21 Update Tidbit

Sharing some quick personal news as well as an update with where my head is currently at. I recently invested most of my time with VPNs the last couple of months. So I finally decided to take a stab

Personal Tidbit - Oct 2021

Sharing some exciting news. I recently participated in a Cisco Championship Content competition, & actually claimed first place! Pretty excited to receive the news since I frequently spend time on Ci