Splunk Enterprise Security

unable to update "action.notable" via API

cha_18
Engager

I am trying to update a detections config in ES via API with a bash script.

All of the below is working and updating the parameters other than updating action.notable and action.email which i cant seem to be able to , i have tried all the values i can think of in there eg 1, true, "1" but none are working, is this something that anyone has seen before?



curl -k -u "$USERNAME:$PASSWORD" \
"https://essplunk.company.org:8029/servicesNS/nobody/<APP>/saved/searches/Threat%20-%20DetectionName%20-%20Rule" \
  -X POST \
  -d disabled=true \
  -d search=index="search" \
  -d description="Updated search for bad events" \
  -d action.email=0 \
  -d action.notable=0 \
  -d action.email.subject="hello" \
  -d action.email.message.alert="hello"\
  -d action.email.to=email@company.com \
  -d action.email.useNSSubject=1\
  -d action.email._command_backup="whatever" \
  -d action.email.use_ssl=true \
  -d action.nbtstat.param.verbose="1"

 

Labels (1)
0 Karma
1 Solution

cha_18
Engager

Worked it out, so posting here in case anyone else needs it...

rather than 

-d action.notable=true

you would need to set the parameters like the below:

-d actions=notable

 

if you want multiple you would need a comma separated list eg below

-d actions=email,notable

 

if you did it like the below then you would only get one of the ARs applied 

 

-d actions=notable 
-d actions=email

 


View solution in original post

cha_18
Engager

Worked it out, so posting here in case anyone else needs it...

rather than 

-d action.notable=true

you would need to set the parameters like the below:

-d actions=notable

 

if you want multiple you would need a comma separated list eg below

-d actions=email,notable

 

if you did it like the below then you would only get one of the ARs applied 

 

-d actions=notable 
-d actions=email

 


Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  &#x1f680; Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...