Security

How to create an superpower role that is able to add a restricted list of roles to users?

francoisternois
Path Finder

Hello,

I would like to create a role which allows to add roles to users on a limited perimeter. The goal is to delegate a part of the user/role mapping to superpowerusers according to their perimeter.

For example:
user1 can add as role only role1 (no any other role)

I have already tried with the following authorize.conf configurations

[role_superpoweruser]
edit_user = enabled
edit_roles_grantable=enabled
grantableRoles = role1;
=> allows to add ALL roles (including others than role1)

[role_superpoweruser]
edit_user = enabled
grantableRoles = role1;
=> the user can add role1 but it removes ALL other roles

Any help would be greatly appreciated

Labels (1)
0 Karma
1 Solution

gcusello
SplunkTrust
SplunkTrust

Hi @francoisternois,

for my knowledge it isn't possible because the grant to add role is on/off , you canod give the possibility to add only some roles.

ciao.

Giuseppe

View solution in original post

gcusello
SplunkTrust
SplunkTrust

Hi @francoisternois,

for my knowledge it isn't possible because the grant to add role is on/off , you canod give the possibility to add only some roles.

ciao.

Giuseppe

francoisternois
Path Finder

Thank you for your answer.

It would be very useful 😕

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @francoisternois ,

good for you, see next time!

let me know if I can help you more, or, please, accept one answer for the other people of Community.

Ciao and happy splunking

Giuseppe

P.S.: Karma Points are appreciated 😉

Get Updates on the Splunk Community!

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...