Splunk Search

How do we enhance the dlp search ?

AL3Z
Builder

Hi,

I need a  help in enhancing the below search  if users triggers one or more of these policies:
Index=dlp sourcetype=dlpalerts

policy=" All Apps " OR policy=" Gmail" OR policy=" GDrive"

AND   ```one or more of these policies```

policy="All Policies" AND activity=upload

``` exclude all  instances  present in the lookup table instance.csv from this search ```

OR

policy="All Apps - Password Protected Files - Alert"

 ```exclude all  instances  present in instance.csv from this search ```

OR

alert_type=ews and alert_name=" uploads"

``` exclude all  instance_id  present in instance.csv from this search ```

|Stats earliest (_time) as incident_time,values(activity)as activity,values(instance_id)as instance_id ,values(alert_type) as alert_type,values(alert_name)as alert_name
By user,policy
Thanks

 

 

Labels (3)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Have you tried something like this?

index=dlp sourcetype=dlpalerts
  (policy=" All Apps " OR policy=" Gmail" OR policy=" GDrive")
  ((policy="All Policies" AND activity=upload) OR
   (policy="All Apps - Password Protected Files - Alert") OR
   (alert_type=ews alert_name=" uploads"))
 NOT [ | inputlookup instance.csv | fields instance_id ]
|Stats earliest (_time) as incident_time,values(activity)as activity,values(instance_id)as instance_id ,values(alert_type) as alert_type,values(alert_name)as alert_name
---
If this reply helps you, Karma would be appreciated.

AL3Z
Builder

@richgalloway 

Hi  Can you help me in writing the above search in drilldownsearch format  in  Adaptive Response Actions

+ Add New Response Action

Notable

while creating correlation search in ES ?

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Adaptive Response Actions use the same SPL as other search queries.

---
If this reply helps you, Karma would be appreciated.
0 Karma
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 ...