Deployment Architecture

Is there a way to modify Access-Control-Allow-Headers for a CORS response? (and how to get these questions actually posted?)

Marcia_Piccione
Engager

We have a client that requires at least some of the following for Access-Control-Allow-Headers:

Access-Control-Allow-Headers: origin,x-requested-with,access-control-request-headers,content-type,access-control-request-method,accept

But when Cors is enabled, splunk HEC returns:

Access-Control-Allow-Headers:Authorization

Is there a way to modify what CORS returns?

Tags (2)

derekf
Explorer

I am having the same issue. Trying to develop a webapp that leverages Splunk REST API and so far it has been a total pain.

0 Karma
Get Updates on the Splunk Community!

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to Officially Supported Splunk ...