Developer

last person joined: 22 hours ago 

Expand all | Collapse all

ClearPass Insight and Identity APIs

This thread has been viewed 7 times
  • 1.  ClearPass Insight and Identity APIs

    Posted Feb 24, 2020 07:22 AM

    I am trying to write a python script that obtains mac addresses per switch port and them call APIs to collect details from ClearPass Endpoint database. The idea is to have full visibility into devices connected to each port before configuring authentication. I tried two APIs in ClearPass, but both didn't provide full information similar to that I get by logging into GUI and searching in Endpoint database. 

     

    - Endpoint API: GET /endpoint/mac-address/{mac_address}, but it returns endpoint IP and attributes, no profiling information

     


    - InSight API: GET /insight/endpoint/mac/{mac}, but InSight database doesn't have all information for many EndPoints and doesn't return key information like "HostName".

     

    is there any call that returns all information in EndPoint database? from EndPoint db and not InSight db?



  • 2.  RE: ClearPass Insight and Identity APIs

    MVP GURU
    Posted Feb 25, 2020 03:03 PM

    No sure if info is available with API

     

    May be try to look directly on DB...



  • 3.  RE: ClearPass Insight and Identity APIs

    Posted Feb 25, 2020 03:13 PM

    Do you mean accessing ClearPass databases using database searches and filters? can this be done remotely? 



  • 4.  RE: ClearPass Insight and Identity APIs

    MVP GURU
    Posted Feb 26, 2020 08:16 AM

    Yes, you can configure on ClearPass Settings...