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

ASA MultiContext Mode Packet Classification Tidbit

In order to understand how traffic flows through the segregated contexts it is important to understand how the ASA determines the context in which it will send the packets. This process is known as c

ASA Security Contexts Tidbit

In this tidbit I want to explain what Cisco ASA Security Contexts are in this blog. A very plain & simple way to put it, security contexts are a way to logically divide the ASA into multiple logical

Fundamentals of PKI Tidbit

I want to touch on some of the fundamentals and standards involved with PKI to give us an overview of what things are/mean. To start let's cover what the standards are. So you have probably seen or