<?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 Securing REST API authentication credentials in script alert action - Splunk 6.6.3 in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Securing-REST-API-authentication-credentials-in-script-alert/m-p/576162#M10224</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm having some issues finding a proper solution for this problem:&lt;/P&gt;&lt;P&gt;I created a custom alert action for a Splunk v6.6.3 (I know, it is veery old) that executes a python script that use an SPL query through Splunk REST API.&lt;/P&gt;&lt;P&gt;At the moment the used credentials for Splunk REST API are written in cleartext into the script; is there a way to encrypt them so they are not clearly visible to other users able to read the script code?&lt;/P&gt;&lt;P&gt;Token authentication would have been the proper solution but it's not available in this old splunk version.&lt;/P&gt;&lt;P&gt;Do you know any additional solutions for this issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advice, have a good day!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 24 Nov 2021 10:43:15 GMT</pubDate>
    <dc:creator>D0do</dc:creator>
    <dc:date>2021-11-24T10:43:15Z</dc:date>
    <item>
      <title>Securing REST API authentication credentials in script alert action - Splunk 6.6.3</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Securing-REST-API-authentication-credentials-in-script-alert/m-p/576162#M10224</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm having some issues finding a proper solution for this problem:&lt;/P&gt;&lt;P&gt;I created a custom alert action for a Splunk v6.6.3 (I know, it is veery old) that executes a python script that use an SPL query through Splunk REST API.&lt;/P&gt;&lt;P&gt;At the moment the used credentials for Splunk REST API are written in cleartext into the script; is there a way to encrypt them so they are not clearly visible to other users able to read the script code?&lt;/P&gt;&lt;P&gt;Token authentication would have been the proper solution but it's not available in this old splunk version.&lt;/P&gt;&lt;P&gt;Do you know any additional solutions for this issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advice, have a good day!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Nov 2021 10:43:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Securing-REST-API-authentication-credentials-in-script-alert/m-p/576162#M10224</guid>
      <dc:creator>D0do</dc:creator>
      <dc:date>2021-11-24T10:43:15Z</dc:date>
    </item>
  </channel>
</rss>

