Dashboards & Visualizations

After hitting a hyperlink can we bypass the username and password

153310424
Observer

In source code we give a link when we hit on it, it will take us to the url we have given.

My question is if that website asks for credentials can we bypass the credentials by storing them in source code if yes please give me the suggestions

 

Labels (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

It depends on the destination.  If it allows it then you may be able to include the credentials in the URL.  This is not secure, however, so not many web sites allow it in GET requests.  Splunk dashboards only support GETs.

---
If this reply helps you, Karma would be appreciated.
0 Karma

153310424
Observer

Thanks,

 

Can you give the example please because in html as follows I see it allows to store the credentials and we can login directly without the login page.

<body onload="loginForm()">
    <form action="https://cdn.crunchify.com/wp-content/uploads/code/success.html" name="myform" method="post">
        <input type="text" name="email" value="myemail@crunchify.com">
        <input type="password" name="password" value="mypassw@rd">
        <input type="submit" value="Login">
    </form>
 
</body>
 
 
Can the same be happen in splunk panel If yes can you please modify the following example and send me please
<drilldown>
<link target="_blank">http://gmail.com</link>
</drilldown>
0 Karma

richgalloway
SplunkTrust
SplunkTrust

There's no way (that I know of) to do that in Simple XML.  You can, however, convert your dashboard to HTML (be sure to save the original in Simple XML) and add your code to it.

---
If this reply helps you, Karma would be appreciated.
0 Karma

153310424
Observer

Can you please share the process of converting the xml to html briefly 

0 Karma

richgalloway
SplunkTrust
SplunkTrust
0 Karma
Get Updates on the Splunk Community!

What's New in Splunk Cloud Platform 9.2.2403?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.2.2403! Analysts can ...

Stay Connected: Your Guide to July and August Tech Talks, Office Hours, and Webinars!

Dive into our sizzling summer lineup for July and August Community Office Hours and Tech Talks. Scroll down to ...

Edge Processor Scaling, Energy & Manufacturing Use Cases, and More New Articles on ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...