<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: REST API to Modify ES Correlation Search in Splunk Enterprise Security</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/REST-API-to-Modify-ES-Correlation-Search/m-p/522338#M9321</link>
    <description>&lt;P&gt;Whoops. It was URL encoded but Splunk Answers converted it back out. Guess I should have stuck that URL into a code block.&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 18:19:41 GMT</pubDate>
    <dc:creator>cwo1010</dc:creator>
    <dc:date>2020-09-30T18:19:41Z</dc:date>
    <item>
      <title>REST API to Modify ES Correlation Search</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/REST-API-to-Modify-ES-Correlation-Search/m-p/522286#M9316</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to use Splunk's REST API in order to change portions of existing correlation searches created within Enterprise Security. For this test, I created a correlation search called chris_test. It has a description of "Test correlation search". I would like to modify its description to be "AAA". I try to do this as follows:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;curl -k -u chris https://essplunk.company.com:8089/servicesNS/chris/SplunkEnterpriseSecuritySuite/saved/searches/Threat%20-%20chris_test%20-%20Rule -d description="EEE" &amp;gt; chris_test.txt&lt;/LI-CODE&gt;&lt;P&gt;I also tried with:&lt;/P&gt;&lt;P&gt;-X POST -d description="EEE"&lt;/P&gt;&lt;P&gt;In both cases, it doesn't seem to make the update to the correlation search. Can someone help me to better understand what I am doing wrong? Long-term, I'd like to be able to use REST API to update the Next Steps of a notable Adaptive Response via something like:&lt;/P&gt;&lt;P&gt;-d&amp;nbsp;action.notable.param.next_steps="DEMO"&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 18:19:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/REST-API-to-Modify-ES-Correlation-Search/m-p/522286#M9316</guid>
      <dc:creator>cwo1010</dc:creator>
      <dc:date>2020-09-30T18:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: REST API to Modify ES Correlation Search</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/REST-API-to-Modify-ES-Correlation-Search/m-p/522336#M9320</link>
      <description>&lt;P&gt;Have you tried URL-encoding the search name?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 18:16:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/REST-API-to-Modify-ES-Correlation-Search/m-p/522336#M9320</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-09-30T18:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: REST API to Modify ES Correlation Search</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/REST-API-to-Modify-ES-Correlation-Search/m-p/522338#M9321</link>
      <description>&lt;P&gt;Whoops. It was URL encoded but Splunk Answers converted it back out. Guess I should have stuck that URL into a code block.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 18:19:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/REST-API-to-Modify-ES-Correlation-Search/m-p/522338#M9321</guid>
      <dc:creator>cwo1010</dc:creator>
      <dc:date>2020-09-30T18:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: REST API to Modify ES Correlation Search</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/REST-API-to-Modify-ES-Correlation-Search/m-p/522707#M9332</link>
      <description>&lt;P&gt;Hi, could the issue be related to the Namespace? I see "chris" is specified in your curl, which would create/modify the object in $SPLUNK_HOME/etc/users/chris/&amp;lt;app&amp;gt;/local/savedsearches.conf, however the object you might be hoping to modify might exist in $SPLUNK_HOME/etc/apps/&amp;lt;app&amp;gt;/local/savedsearches.conf, so if you try replacing "chris" in your REST call with "nobody" - that may address the right object.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Oct 2020 16:22:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/REST-API-to-Modify-ES-Correlation-Search/m-p/522707#M9332</guid>
      <dc:creator>jnussbaum_splun</dc:creator>
      <dc:date>2020-10-02T16:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: REST API to Modify ES Correlation Search</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/REST-API-to-Modify-ES-Correlation-Search/m-p/522720#M9333</link>
      <description>&lt;P&gt;Replacing the username with "nobody" correctly converted the REST API action from a "create new search" action into a "modify an existing search" action.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Oct 2020 17:26:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/REST-API-to-Modify-ES-Correlation-Search/m-p/522720#M9333</guid>
      <dc:creator>cwo1010</dc:creator>
      <dc:date>2020-10-02T17:26:58Z</dc:date>
    </item>
  </channel>
</rss>

