PaloAltoNetworks / minemeld-core

Engine of MineMeld
Apache License 2.0
141 stars 95 forks source link

Add support for additional headers with minemeld.ft.http.HttpFT module #364

Open spenceation opened 4 years ago

spenceation commented 4 years ago

Is your feature request related to a problem?

Certain applications require an API-KEY or authentication through the HTTP headers. This is currently supported with the minemeld.ft.json.SimpleJSON module.

Describe the solution you'd like

The HTTP module should allow for additional headers to be provided. This will allow support for more applications.

Describe alternatives you've considered

An alternative is to implement a gateway in between that handles the authentication, but this is not an ideal solution.

Additional context

Gitlab specifically requires API tokens to be passed through the HTTP header. This will allow for more internal GitOps functionality of Minemeld.