Security

last person joined: 3 hours ago 

Enterprise security using ClearPass Policy Management, ClearPass Security Exchange, IntroSpect, VIA, 360 Security Exchange, Extensions and Policy Enforcement Firewall (PEF).
Expand all | Collapse all

Escape Characters in Belongs_to or Match_any

Jump to Best Answer
  • 1.  Escape Characters in Belongs_to or Match_any

    Posted Aug 20, 2018 01:33 PM

    Hi Everyone,

     

    I would like to match mutliple values to an attribute. However the field contains comma in the strings, the value is a DN. 

     

    In the document i see: "For string data type, true if the run-time value of the attribute matches a set of configured string values.

    Example: RADIUS:IETF:Service-Type BELONGS_TO Login-User,Framed-User,Authenticate-Only" it shows to use comma between matching values. 

     

    How can i match mutliple values which are:

     

    OU=My Name,O=My O,C=CA

    - OU=My Name2,O=My O,C=CA

    - OU=My Name3,O=My O,C=CA

     

    Right now i have seperate lines for each OU and use a equals, but this is making my role mapping policy messy. What is the escape character in ClearPass policy?

     

    Thanks,


    _ELiasz



  • 2.  RE: Escape Characters in Belongs_to or Match_any
    Best Answer

    Posted Aug 20, 2018 01:38 PM
    Use a regex operator.


  • 3.  RE: Escape Characters in Belongs_to or Match_any

    Posted Aug 20, 2018 03:23 PM

    Thanks Cappalli. In my example, lets use 2 DN we are looking to match:

     

    OU=My Name,O=My O,C=CA

    - OU=My Name2,O=My O,C=CA

     

    For anyone else trying this in the future: 

     

    Here is what worked :

    Certificate:Issuer-DN  BELONGS_TO OU=My Name","O=My O","C=CA,OU=My Name2","O=My O","C=CA

     

    These did not work:

     

    Certificate:Issuer-DN  BELONGS_TO OU=My Name\,O=My O\,C=CA,OU=My Name2\,O=My O\,C=CA

     

    Certificate:Issuer-DN  BELONGS_TO OU=My Name\Q,\EO=My O\Q,\EC=CA,OU=My Name2\Q,\E,O=My O\Q,\EC=CA

     

     

    Thanks for pointing me in the right direction.