<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Job webhook alerts are not sending authorization headers in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/job-webhook-alerts-are-not-sending-authorization-headers/m-p/5302#M1753</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for replying. I checked the webhook configuration and the credentials I set are still there. We have a fallback value in case but it would be better if the event has the authorization headers consistently from a security point of view. For the same job, we are sometimes getting the authorization details in the event but sometimes we are not getting the authorization details in the event.&lt;/P&gt;</description>
    <pubDate>Wed, 26 Apr 2023 09:31:33 GMT</pubDate>
    <dc:creator>564824</dc:creator>
    <dc:date>2023-04-26T09:31:33Z</dc:date>
    <item>
      <title>Job webhook alerts are not sending authorization headers</title>
      <link>https://community.databricks.com/t5/data-engineering/job-webhook-alerts-are-not-sending-authorization-headers/m-p/5300#M1751</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I have set up a webhook which will send the event to a lambda in AWS. I validate the event through the credentials given while creating the webhook but sometimes the event that is being sent from databricks does not contain authorization in the headers so the alert is not coming through. I would like to know how to resolve this.&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Muthu&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2023 12:57:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/job-webhook-alerts-are-not-sending-authorization-headers/m-p/5300#M1751</guid>
      <dc:creator>564824</dc:creator>
      <dc:date>2023-04-25T12:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: Job webhook alerts are not sending authorization headers</title>
      <link>https://community.databricks.com/t5/data-engineering/job-webhook-alerts-are-not-sending-authorization-headers/m-p/5301#M1752</link>
      <description>&lt;P&gt;@Muthu Kumaran​&amp;nbsp;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the event being sent from Databricks to your Lambda function sometimes does not contain authorization headers, you may need to modify your webhook configuration or Lambda function code to handle this situation. Here are a few suggestions:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Check the webhook configuration: Make sure that you have configured the webhook to include the authorization header in the event payload. You can do this by specifying the appropriate header fields in the webhook configuration.&lt;/LI&gt;&lt;LI&gt;Check the Databricks job configuration: If the event is being triggered by a Databricks job, make sure that the job is configured to include the authorization header in the event payload. You can do this by specifying the appropriate header fields in the job configuration.&lt;/LI&gt;&lt;LI&gt;Modify the Lambda function code: You can modify the code of your Lambda function to handle the situation where the authorization header is missing from the event. For example, you can check if the authorization header is present in the event headers, and if not, you can use a default or fallback value.&lt;/LI&gt;&lt;LI&gt;Use a middleware layer: You can use a middleware layer to intercept the event before it is sent to the Lambda function. The middleware can then add the authorization header if it is missing before forwarding the event to the Lambda function.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Overall, it's important to ensure that the authorization header is consistently included in the event payload. This can help prevent issues with missing headers and ensure that your alerting system works as expected.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2023 05:11:53 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/job-webhook-alerts-are-not-sending-authorization-headers/m-p/5301#M1752</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-04-26T05:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: Job webhook alerts are not sending authorization headers</title>
      <link>https://community.databricks.com/t5/data-engineering/job-webhook-alerts-are-not-sending-authorization-headers/m-p/5302#M1753</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for replying. I checked the webhook configuration and the credentials I set are still there. We have a fallback value in case but it would be better if the event has the authorization headers consistently from a security point of view. For the same job, we are sometimes getting the authorization details in the event but sometimes we are not getting the authorization details in the event.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2023 09:31:33 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/job-webhook-alerts-are-not-sending-authorization-headers/m-p/5302#M1753</guid>
      <dc:creator>564824</dc:creator>
      <dc:date>2023-04-26T09:31:33Z</dc:date>
    </item>
  </channel>
</rss>

