Security

 View Only
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).

Clearpass API regex filter not working

This thread has been viewed 5 times
  • 1.  Clearpass API regex filter not working

    Posted 12 days ago

    clearpass regex filter is not working for me, got 422 response. RestAPI call below.

    RestAPI Call

    https://{{clearpass_ip}}:443/api/network-device?filter={"name":{"$regex":"AR2MT102"}}

    https://{{clearpass_ip}}:443/api/network-device?filter={"name":{"$regex":"AR2MT102", "$options":"i"}}

    API response

    {

        "validation_messages": "err.general",

        "type": http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html,

        "title": "Unprocessable Entity",

        "status": 422,

        "detail": ""

    }