Dashboards & Visualizations

Perform GET or POST action depending on table value

Dworsnop
Path Finder

Hi all. I am generating a dashboard table containing possible indicators of compromise observed on a network. Included in the search that generates the table is...


| eval ActionText=if('model'="Watchlisted domain","Check on Virus Total",(mvappend("Check on Virus Total","Add to Watchlist")))

Along with the rest of the search I end up with a table like this...

... | IoC               | ... | model                             | ActionText                     | ... | ...

-------------------------------------------------------------------------------------

... | <domain> | ... | Watchlisted domain | Check on Virus Total | ... | ... 

... | <domain> | ... | Suspicious domain   | Check on Virus Total | ... | ...

                                                                                Add to Watchlist          

... | <domain> | ... | Watchlisted domain | Check on Virus Total | ... | ... 

 

I would like to configure a drilldown so that clicking on "Check on Virus Total" in the table will perform a GET request using the IoC field as a token, and a POST action to an internal API when I click on "Add to Watchlist", again using the IoC from the corresponding row/event.

Any ideas for a starting point?

Labels (3)
0 Karma
Get Updates on the Splunk Community!

Build Scalable Security While Moving to Cloud - Guide From Clayton Homes

 Clayton Homes faced the increased challenge of strengthening their security posture as they went through ...

Mission Control | Explore the latest release of Splunk Mission Control (2.3)

We’re happy to announce the release of Mission Control 2.3 which includes several new and exciting features ...

Cloud Platform | Migrating your Splunk Cloud deployment to Python 3.7

Python 2.7, the last release of Python 2, reached End of Life back on January 1, 2020. As part of our larger ...