IMPORTANT ANNOUNCEMENT: On May 6, 2024, Carbon Black User eXchange (UeX) and Case Management will move to a new platform!
The Community will be in read-only mode starting April 19th, 7:00 AM PDT. Check out the blog post!
You will still be able to use the case portal to create and interact with your support cases until the transition, view more information here!

CB Response: How To Remove Role Mapping on ADFS SSO

CB Response: How To Remove Role Mapping on ADFS SSO

Environment

  • CB Response Server: All versions
  • ADFS: 2.0

Objective

With ADFS SSO, when IDP doesn't define roles, how to modify attr_map.py?

Resolution

  • Edited the following lines. 
Change 
result["builtin_roles"] = [] 
result["teams"] = []
To 
result["builtin_roles"] = None 
result["teams"] = None
  • Comment out the following. 
"""       if 'role' in key:
            roles=value
            result["authorized"] = any( 'Domain Users' in role for role in roles )
            if any( 'Administrators' in role for role in roles ):
                result["authorized"] = True
                result["builtin_roles"] = ["global_admin",]
                result["teams"] = ["Administrators", ]

"""

 

Related Content


Labels (1)
Tags (2)
Was this article helpful? Yes No
No ratings
Article Information
Author:
Creation Date:
‎09-09-2020
Views:
509
Contributors