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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...