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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...