Security

Is it possible to configure Splunk to support HTTP Strict Transport Security (HSTS)?

amoldesai
Explorer

Hi,

We have a requirement from our security team to have Splunk support HSTS feature. Can this be done?

I have seen configuration for other servers like Apache 2 at https://raymii.org/s/tutorials/HTTP_Strict_Transport_Security_for_Apache_NGINX_and_Lighttpd.html

How can we configure Splunk server to support it?

Please let me know.

Thanks,

-Amol

Labels (1)

haraksin
Communicator

In case anyone else is wondering the answer to this question, there is now a way to do this deployment-wide as of version 4.*

Set the following flag globally in $SPLUNK_HOME/etc/system/local/web.conf (under [settings] stanza) and in $SPLUNK_HOME/etc/system/local/server.conf (in [default] stanza):

sendStrictTransportSecurityHeader = true

Jeremiah
Motivator

If you want to add custom headers to Splunk, your best bet is probably to front-end Splunk with Apache or Nginx. Also note that if you enable SSL on Splunkweb, there is no non-ssl port.

https://answers.splunk.com/answers/5465/how-to-access-splunk-web-interface-behind-nginx.html

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...