<?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 Reading allowed webhook urls from the custom alert code in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Reading-allowed-webhook-urls-from-the-custom-alert-code/m-p/684500#M11434</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am building a custom alert action for advanced webhook functionality (allowing header values, removing some data from the payload etc.) and I want to validate the url provided in the config of the alert to be one of the listed in webhook allowed urls. There is a standard list of allowed urls for Splunk standard action Webhook which I want to use.&lt;/P&gt;&lt;P&gt;Do you know how can I pull the list of allowed webhook urls (patterns) from my python code?&lt;/P&gt;&lt;P&gt;I want to reuse the existing configuration instead of creating a custom list of allowed patterns. Only admin should be able to modify this list, whereas the URL for each alert is created by the user.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Wed, 17 Apr 2024 12:04:58 GMT</pubDate>
    <dc:creator>dkonvalina</dc:creator>
    <dc:date>2024-04-17T12:04:58Z</dc:date>
    <item>
      <title>Reading allowed webhook urls from the custom alert code</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Reading-allowed-webhook-urls-from-the-custom-alert-code/m-p/684500#M11434</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am building a custom alert action for advanced webhook functionality (allowing header values, removing some data from the payload etc.) and I want to validate the url provided in the config of the alert to be one of the listed in webhook allowed urls. There is a standard list of allowed urls for Splunk standard action Webhook which I want to use.&lt;/P&gt;&lt;P&gt;Do you know how can I pull the list of allowed webhook urls (patterns) from my python code?&lt;/P&gt;&lt;P&gt;I want to reuse the existing configuration instead of creating a custom list of allowed patterns. Only admin should be able to modify this list, whereas the URL for each alert is created by the user.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2024 12:04:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Reading-allowed-webhook-urls-from-the-custom-alert-code/m-p/684500#M11434</guid>
      <dc:creator>dkonvalina</dc:creator>
      <dc:date>2024-04-17T12:04:58Z</dc:date>
    </item>
  </channel>
</rss>

