Alerting

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

inventsekar
SplunkTrust
SplunkTrust

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
SplunkTrust
SplunkTrust

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
SplunkTrust
SplunkTrust

Hi All... any suggestions, ideas please

0 Karma

inventsekar
SplunkTrust
SplunkTrust

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

0 Karma

inventsekar
SplunkTrust
SplunkTrust

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!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...