Security

Splunk User search limit

spl_unker
Explorer

Is it possible to restrict some of the user/roles from running searches for all time ?

0 Karma
1 Solution

nickhills
Ultra Champion

Yes,

You can create a new role and configure this new role with a restriction.

From the authorize.conf docs:

srchTimeWin = <number>
* Maximum time span of a search, in seconds.
    * This time window limit is applied backwards from the latest time
      specified in a search.
* By default, searches are not limited to any specific time window.
* To override any search time windows from imported roles, set this to '0'
  (infinite), as the 'admin' role does.
* -1 is a special value that implies no search window has been set for this role
    * This is equivalent to not setting srchTimeWin at all, which means it
      can be easily overridden by an imported role

https://docs.splunk.com/Documentation/Splunk/8.0.2/Security/Rolesandcapabilities

If my comment helps, please give it a thumbs up!

View solution in original post

0 Karma

nickhills
Ultra Champion

Yes,

You can create a new role and configure this new role with a restriction.

From the authorize.conf docs:

srchTimeWin = <number>
* Maximum time span of a search, in seconds.
    * This time window limit is applied backwards from the latest time
      specified in a search.
* By default, searches are not limited to any specific time window.
* To override any search time windows from imported roles, set this to '0'
  (infinite), as the 'admin' role does.
* -1 is a special value that implies no search window has been set for this role
    * This is equivalent to not setting srchTimeWin at all, which means it
      can be easily overridden by an imported role

https://docs.splunk.com/Documentation/Splunk/8.0.2/Security/Rolesandcapabilities

If my comment helps, please give it a thumbs up!
0 Karma

spl_unker
Explorer

Thank you @nickhillscpl it worked 🙂

0 Karma
Get Updates on the Splunk Community!

Modern way of developing distributed application using OTel

Recently, I had the opportunity to work on a complex microservice using Spring boot and Quarkus to develop a ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had 3 releases of new security content via the Enterprise Security ...

Archived Metrics Now Available for APAC and EMEA realms

We’re excited to announce the launch of Archived Metrics in Splunk Infrastructure Monitoring for our customers ...