Alerting

How do you restrict users roles/capabilities with cron expressions?

inventsekar
Ultra Champion

Hi,

Many times, our users create alerts/reports with the cron expression as * * * * * or */1* * * *.

And we have to chase the users with back and forth emails and lots of confusion.

So, to avoid these issues, it would be better that if we could restrict users by their roles/capabilities with the cron expressions.

Please if you have some ideas/workarounds.

0 Karma
1 Solution

inventsekar
Ultra Champion

one idea would be ...

From Answer by @the_wolverine and @strive
Set the capabilities for roles in authorize.conf configuration file

[capability::schedule_search]
schedule_search = disabled

(requires save and restart)
Note:
By default all the capabilities are disabled.
Roles inherit all capabilities from imported roles, and inherited capabilities cannot be disabled.

From - https://answers.splunk.com/answers/150358/how-to-limit-some-user-roles-from-running-scheduled-search...

View solution in original post

0 Karma

inventsekar
Ultra Champion

Hi All... any suggestions, ideas please

0 Karma

inventsekar
Ultra Champion

Hi All... any suggestions, ideas please..

0 Karma

inventsekar
Ultra Champion

one idea would be ...

From Answer by @the_wolverine and @strive
Set the capabilities for roles in authorize.conf configuration file

[capability::schedule_search]
schedule_search = disabled

(requires save and restart)
Note:
By default all the capabilities are disabled.
Roles inherit all capabilities from imported roles, and inherited capabilities cannot be disabled.

From - https://answers.splunk.com/answers/150358/how-to-limit-some-user-roles-from-running-scheduled-search...

0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...