Security

Assign default role to users with SAML authentication

alexis11
Observer

Hello,

Let me explain the use case: we are using SAML as authentication system, and we need to give specific users specific roles, there is no group information in the IdP that can be correctly mapped to the roles. The role attribution can be very specific and also on-demand. Because of that, we thought we could use the "mail" attribute to map roles, this way we could manually give the specific roles to the individual users, and it would work.

But now we also want that all other users trying to access Splunk would be able to sign on and automatically get a very limited default role with minimal permissions, without having to assign this limited role manually to each one of them.

We tried using the configuration:

 

[saml]
defaultRoleIfMissing = my_limited_role
...

 

But random/unmapped users who tries to access Splunk gets the error "No valid splunk role found in local mapping." and can't sign on, so I was wondering if is was possible to do it in some way.

Thank you for your help !

Labels (5)
0 Karma
Get Updates on the Splunk Community!

Using Machine Learning for Hunting Security Threats

WATCH NOW Seeing the exponential hike in global cyber threat spectrum, organizations are now striving more for ...

Observability Newsletter Highlights | March 2023

 March 2023 | Check out the latest and greatestSplunk APM's New Tag Filter ExperienceSplunk APM has updated ...

Security Newsletter Updates | March 2023

 March 2023 | Check out the latest and greatestUnify Your Security Operations with Splunk Mission Control The ...