Splunk Search

BEWARE: srchFilter usage may negate each other in certain situation.

the_wolverine
Champion

If you are using deny (NOT) in your srchFilter be aware that inheritance of multiple roles with negative filters will negate each other.

For example:

role1: srchFilter = NOT abc
role2: srchFilter = NOT xyz

inherited/combined:  srchFilter = (NOT abc) OR (NOT xyz)
       outcome = access to all.

Anyone have a workaround for this?

1 Solution

martin_mueller
SplunkTrust
SplunkTrust

This sounds like a case for srchFilterSelecting = false: http://docs.splunk.com/Documentation/Splunk/6.3.3/Admin/authorizeconf

Then you'd get a combined filter of (NOT abc) AND (NOT xyz)

View solution in original post

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

This sounds like a case for srchFilterSelecting = false: http://docs.splunk.com/Documentation/Splunk/6.3.3/Admin/authorizeconf

Then you'd get a combined filter of (NOT abc) AND (NOT xyz)

0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

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

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...