Minor Bug - Short URL's in Kibana doesn't seem to work.

21 views
Skip to first unread message

id1010...@gmail.com

unread,
Jan 6, 2018, 3:10:24 PM1/6/18
to security-onion
When playing around with Kibana on Beta 3.

When you click "Share" at the top of the page and then "Short URL" next to link it seems to resolve to:
https://<securityoniononionIP>/shorten

which doesn't exist and ofcourse just returns a 404.


-J

Doug Burks

unread,
Jan 6, 2018, 3:42:24 PM1/6/18
to securit...@googlegroups.com
Hi J,

Nice catch!

I've added this to our TODO list for the next release:
https://github.com/Security-Onion-Solutions/security-onion/issues/1179

In the meantime, you should be able to add the following to
/etc/apache2/sites-available/securityonion.conf right after the last
</Location> tag:

<Location /shorten>
AuthType form
AuthName "Security Onion"
AuthFormProvider external
AuthExternal so-apache-auth-sguil
Session On
SessionCookieName session path=/;httponly;secure;
SessionCryptoPassphraseFile /etc/apache2/session
ErrorDocument 401 /login.html
Require valid-user
ProxyPass http://127.0.0.1:5601/shorten
ProxyPassReverse http://127.0.0.1:5601/shorten
</Location>
<Location /goto>
AuthType form
AuthName "Security Onion"
AuthFormProvider external
AuthExternal so-apache-auth-sguil
Session On
SessionCookieName session path=/;httponly;secure;
SessionCryptoPassphraseFile /etc/apache2/session
ErrorDocument 401 /login.html
Require valid-user
ProxyPass http://127.0.0.1:5601/goto
ProxyPassReverse http://127.0.0.1:5601/goto
</Location>

Then restart Apache:
sudo service apache2 restart
> --
> Follow Security Onion on Twitter!
> https://twitter.com/securityonion
> ---
> You received this message because you are subscribed to the Google Groups "security-onion" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to security-onio...@googlegroups.com.
> To post to this group, send email to securit...@googlegroups.com.
> Visit this group at https://groups.google.com/group/security-onion.
> For more options, visit https://groups.google.com/d/optout.



--
Doug Burks

id1010...@gmail.com

unread,
Jan 6, 2018, 4:03:48 PM1/6/18
to security-onion
Worked perfectly, thanks!


-J

Reply all
Reply to author
Forward
0 new messages