Azure Eventhubs Header X-Frame-Options

Jesus Orlando Aguilar Contreras 75 Reputation points
2023-07-26T19:36:26.59+00:00

Hello,

I have the following problem in this architecture:

Integration: I have connected as output of a Stream Analytics to an Eventhub, this Eventhub is inside a virtual network and is used to send data to an Azure Function that then takes them and sends them to another component.

The problem is that in a hacking test they have told me that when sending events to the Eventhub it does not respond with some headers among those the X-Frame-Options.

I was looking at the Microsoft documentation for Eventhub and I can’t find anything where I can configure Headers.

Is what they ask me possible? Why doesn’t Eventhub allow me to configure the headers directly? Is there any documentation that explains the issue?

Greetings

Azure Event Hubs
Azure Event Hubs
An Azure real-time data ingestion service.
564 questions
Azure Stream Analytics
Azure Stream Analytics
An Azure real-time analytics service designed for mission-critical workloads.
333 questions
{count} vote

1 answer

Sort by: Most helpful
  1. Jesus Orlando Aguilar Contreras 75 Reputation points
    2023-08-03T14:26:12.7866667+00:00

    Hello,

    This is what has been answered in a session: "

    • The recommendation for "Event Grid" is to use a "private endpoint" on the connection that is configured on the Azure Front Door in order that additional security configurations, protocols and software information that were found as a result of the "Tehical Hacking" type tests can be performed.
    •  Take as reference the architecture we reviewed and shared in the session, here the reference:  Mission-critical baseline architecture with network controls - Azure Architecture Center | Microsoft Learn
    • In case of "Event Hub" the scenario is different since they are running the tests internally and they would have to use an "Azure Application Gateway" for all the traffic that is going to the API.
    • On the other hand, TLS testing with versions lower than 1.2 are only call/acknowledge, but they are required to test in those versions not only the call, launch an event and monitor response. If the call or test is performed with version lower than 1.2 it should not affect the expected behavior of the service. In the case of requiring "Event Hub" to have a different behavior when making a call through a version lower than TLS 1.2, it will be necessary to raise a support ticket to validate if it is possible to change the behavior of the service."

    For the Eventhub and Eventgrid cases related to Header testing and TLS 1.2 protocol, this is what Microsoft told us in an internal session.

    I hope this helps to solve other people's doubts.

    1 person found this answer helpful.