Security

last person joined: yesterday 

Forum to discuss Enterprise security using HPE Aruba Networking NAC solutions (ClearPass), Introspect, VIA, 360 Security Exchange, Extensions, and Policy Enforcement Firewall (PEF).
Expand all | Collapse all

Clearpass enpoint update using REST

This thread has been viewed 2 times
  • 1.  Clearpass enpoint update using REST

    Posted Mar 12, 2019 03:02 AM

    Hi

     

    We are currently using a cutom url for our guest captive portal. After the guest completes a sign in page our backend creates a guest account using the clearpass REST API which is followed by another REST request that updates the Enpoint for the specific MAC address using the newly created Guest account.

     

    The updated Enpoint settings are only applied when I disconnect the guest wifi and reconnect it again (The session gets created and the guest is released from the captive portal). Is there any  way to refresh the connection (Preferrably using REST) with the new session without having to disconnect and reconnect the wifi again.

     

    Any help would be much appreciated :)



  • 2.  RE: Clearpass enpoint update using REST

    EMPLOYEE
    Posted Mar 12, 2019 05:52 AM

    Are you just trying to change the user role for the session?



  • 3.  RE: Clearpass enpoint update using REST

    EMPLOYEE
    Posted Mar 12, 2019 06:58 AM

    What you are looking for is likely the disconnect session feature in the API.

     

    You may have a look at this Python example script: https://github.com/aruba/clearpass-examples-only/tree/master/atm18/disconnect-compromised-device

     

    It marks the endpoint, and after that triggers a reconnect of the device all over the REST API.