<?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 Sending alert data via http POST - http body is empty in Cortex XSIAM Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xsiam-discussions/sending-alert-data-via-http-post-http-body-is-empty/m-p/1225568#M169</link>
    <description>&lt;P&gt;Hi All, &lt;/P&gt;
&lt;P&gt;so i am trying to send alerts via a playbook using either http or httpv2 script to send my alert data to a webhook url where the soc analysts will have a common workbench for all alerts (multi xsiam tenant options)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i can connect to the webhook but unable to get my http body to push data - tested against httpbin.org seems to work.. soon as i test it against my webhook my input shows the data correctly ie ${alert.name} as an example, but my output shows my 'body' as empty.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;anyone ran into similar issues?&lt;/P&gt;
&lt;P&gt;thanks in adv.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 03 Apr 2025 10:25:12 GMT</pubDate>
    <dc:creator>PA_nts</dc:creator>
    <dc:date>2025-04-03T10:25:12Z</dc:date>
    <item>
      <title>Sending alert data via http POST - http body is empty</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsiam-discussions/sending-alert-data-via-http-post-http-body-is-empty/m-p/1225568#M169</link>
      <description>&lt;P&gt;Hi All, &lt;/P&gt;
&lt;P&gt;so i am trying to send alerts via a playbook using either http or httpv2 script to send my alert data to a webhook url where the soc analysts will have a common workbench for all alerts (multi xsiam tenant options)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i can connect to the webhook but unable to get my http body to push data - tested against httpbin.org seems to work.. soon as i test it against my webhook my input shows the data correctly ie ${alert.name} as an example, but my output shows my 'body' as empty.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;anyone ran into similar issues?&lt;/P&gt;
&lt;P&gt;thanks in adv.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2025 10:25:12 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsiam-discussions/sending-alert-data-via-http-post-http-body-is-empty/m-p/1225568#M169</guid>
      <dc:creator>PA_nts</dc:creator>
      <dc:date>2025-04-03T10:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: Sending alert data via http POST - http body is empty</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsiam-discussions/sending-alert-data-via-http-post-http-body-is-empty/m-p/1230521#M200</link>
      <description>&lt;P&gt;Stumbled upon this old post of mine.. fyi if you run into this..&amp;nbsp;i have done it this way,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;in a playbook task i have a 'set' script to generate a 'payload' of data to be sent to the webhook with a key=payload&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;{&lt;BR /&gt;"customer_name": "${customername}",&lt;BR /&gt;"xsiam_instance": "${xsiaminstance}",&lt;BR /&gt;"alert_name": "${alert.name}",&lt;BR /&gt;"detected_at": "${detectedtime}",&lt;BR /&gt;"host": "${alert.hostname}",&lt;BR /&gt;"monitor_type": "XSIAM Incident",&lt;BR /&gt;"source": "XSIAM",&lt;BR /&gt;"source_url": "${parentIncidentFields.xdr_url}",&lt;BR /&gt;"unique_id": "${parentIncidentFields.incident_id}"&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;then in my next task it uses the HTTPv2 Script to POST to my webhook URL the following in the 'body' field&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[&lt;BR /&gt;${payload}&lt;BR /&gt;]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;works for me.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 May 2025 07:50:56 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsiam-discussions/sending-alert-data-via-http-post-http-body-is-empty/m-p/1230521#M200</guid>
      <dc:creator>PA_nts</dc:creator>
      <dc:date>2025-05-30T07:50:56Z</dc:date>
    </item>
  </channel>
</rss>

