通过应用数据洞察警报

时间:2019-03-27 18:15:05

标签: azure authentication azure-active-directory azure-functions azure-application-insights

我已将Azure Application Insight配置为监视我们的系统,并试图启用警报。我正在使用应用程序洞察可用性测试,该测试提供了调用Webhook URL的功能。

我使用HTTP触发的Azure函数编写了一个Webhook,但是问题在于它公开了一个公共URL,如果调用该URL,则会在我们的内部警报系统上发出警报。因此,我计划验证对webhook的调用。

有什么方法可以使用OAUTH来验证呼叫。我不想在URL中提供令牌,而是在寻找安全的东西。在URL中手动使用令牌的另一个问题是令牌轮换需要手动操作。

任何有关我可以自动执行此任务的建议(将解决秘密轮换问题)都将受到赞赏。

1 个答案:

答案 0 :(得分:0)

我相信,基于令牌的身份验证是here所述的唯一可行的路由。

但是我认为您仍然应该可以使用Function App,而不必担心按键旋转,因为如果 Number[] numArray = {1,2,3,4}; // java.lang.Number numArray[0] = new Float(1.5f); // java.lang.Float numArray[1] = new Integer(1); // java.lang.Integer //You can store a subclass object in an array that is declared // to be of the type of its superclass. // Here Number is the superclass for both Float and Integer. Number num[] = new Float[5]; // this is also valid 应用设置设置为AzureWebJobsSecretStorageType,则可以通过Functions API读取功能键。 here中有记载。

相关问题