<?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: How to pass Username and Password as a parameter via Splunk URL? in Security</title>
    <link>https://community.splunk.com/t5/Security/How-to-pass-Username-and-Password-as-a-parameter-via-Splunk-URL/m-p/315318#M8238</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Thank you for your answer. Is it possible to pass username/password credentials as well as device_name in a single URL?&lt;/P&gt;</description>
    <pubDate>Wed, 28 Feb 2018 12:01:41 GMT</pubDate>
    <dc:creator>kiril123</dc:creator>
    <dc:date>2018-02-28T12:01:41Z</dc:date>
    <item>
      <title>How to pass Username and Password as a parameter via Splunk URL?</title>
      <link>https://community.splunk.com/t5/Security/How-to-pass-Username-and-Password-as-a-parameter-via-Splunk-URL/m-p/315316#M8236</link>
      <description>&lt;P&gt;I use the following URL to call Splunk dashboard and pass a device_name as a parameter:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://splunk:8000/en-GB/app/search/device_search?form.event_data=%22%22&amp;amp;form.time.earliest=-24h%40h&amp;amp;form.time.latest=now&amp;amp;form.device_name=device_hostname"&gt;http://splunk:8000/en-GB/app/search/device_search?form.event_data=%22%22&amp;amp;form.time.earliest=-24h%40h&amp;amp;form.time.latest=now&amp;amp;form.device_name=device_hostname&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Is there a way to pass username and password via URL as well?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2018 10:46:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-pass-Username-and-Password-as-a-parameter-via-Splunk-URL/m-p/315316#M8236</guid>
      <dc:creator>kiril123</dc:creator>
      <dc:date>2018-02-28T10:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass Username and Password as a parameter via Splunk URL?</title>
      <link>https://community.splunk.com/t5/Security/How-to-pass-Username-and-Password-as-a-parameter-via-Splunk-URL/m-p/315317#M8237</link>
      <description>&lt;P&gt;Hi you can try this:&lt;/P&gt;

&lt;P&gt;In etc/system/local/web.conf, you can add following settings:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;enable_insecure_login = [True | False]
* Indicates if the GET-based /account/insecurelogin endpoint is enabled
* Provides an alternate GET-based authentication mechanism
* If True, the following url is available:
&lt;A href="http://localhost:8000/en-US/account/insecurelogin?loginType=splunk&amp;amp;username=noc&amp;amp;password=XXXXXXX" target="test_blank"&gt;http://localhost:8000/en-US/account/insecurelogin?loginType=splunk&amp;amp;username=noc&amp;amp;password=XXXXXXX&lt;/A&gt;
* If False, only the main /account/login endpoint is available
* Defaults to False
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Restart splunk after updating settings.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2018 11:37:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-pass-Username-and-Password-as-a-parameter-via-Splunk-URL/m-p/315317#M8237</guid>
      <dc:creator>p_gurav</dc:creator>
      <dc:date>2018-02-28T11:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass Username and Password as a parameter via Splunk URL?</title>
      <link>https://community.splunk.com/t5/Security/How-to-pass-Username-and-Password-as-a-parameter-via-Splunk-URL/m-p/315318#M8238</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Thank you for your answer. Is it possible to pass username/password credentials as well as device_name in a single URL?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2018 12:01:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-pass-Username-and-Password-as-a-parameter-via-Splunk-URL/m-p/315318#M8238</guid>
      <dc:creator>kiril123</dc:creator>
      <dc:date>2018-02-28T12:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass Username and Password as a parameter via Splunk URL?</title>
      <link>https://community.splunk.com/t5/Security/How-to-pass-Username-and-Password-as-a-parameter-via-Splunk-URL/m-p/315319#M8239</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I am not sure if you can directly pass both parameter in same url but you can try using splunk SDK. Refere below link:&lt;BR /&gt;
&lt;A href="http://dev.splunk.com/view/python-sdk/SP-CAAAEK2"&gt;http://dev.splunk.com/view/python-sdk/SP-CAAAEK2&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2018 12:35:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-pass-Username-and-Password-as-a-parameter-via-Splunk-URL/m-p/315319#M8239</guid>
      <dc:creator>p_gurav</dc:creator>
      <dc:date>2018-02-28T12:35:28Z</dc:date>
    </item>
  </channel>
</rss>

