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

Troubleshooting FMC Policy Deployment Tidbit

In this tidbit I want to share some tips on how to troubleshoot FMC policy deployment errors. It is important to understand that the policy deployment is broken down into the following phases: Phase

HTTP Methods & Status Codes Tidbit

In this tidbit I want to touch on different types of HTTP Methods & the types of HTTP status codes you may encounter when consuming APIs in regard to automation. HTTP Methods: GET = get user info PATC

FMC & FTD Communication/Registration Tidbit

In this tidbit I want to cover the basics in regard to FTD & FMC registration. I also intend on covering how the two communicate with each other as this can be helpful when having registration issues