Security

 View Only
Expand all | Collapse all

How to retrieve MAC address, VLAN, and Switch Port info from ClearPass REST API

This thread has been viewed 8 times
  • 1.  How to retrieve MAC address, VLAN, and Switch Port info from ClearPass REST API

    Posted 18 days ago

    Hi,

    I'm trying to use the ClearPass REST API to get details about active sessions, specifically including the MAC address and VLAN information.

    I have already:

    • Created an API Client with Client Credentials grant type

    • Set the Operator Profile to Super Administrator

    • Successfully generated an access token via /api/oauth

    Question:
    What is the correct endpoint path to retrieve this data?
    Is it /api/session, /api/active_session, or another endpoint?

    Thank you very much for your help!



  • 2.  RE: How to retrieve MAC address, VLAN, and Switch Port info from ClearPass REST API

    Posted 16 days ago

    As far as i know (i might be wrong so you better verify it) ClearPass does not expose real-time session data via standard REST endpoints. Instead, you can extract real-time data through Syslog push to external collector (we started using Wazuh and it works amazing) or via ClearPass Insight, if licensed. 



    ------------------------------
    Shpat | ACEP | ACMP | ACCP | ACDP
    Just an Aruba enthusiast and contributor by cases
    If you find my comment helpful, KUDOS are appreciated.
    ------------------------------