<?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: Creation of table from arrays in Cortex XSOAR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/creation-of-table-from-arrays/m-p/524238#M1536</link>
    <description>&lt;P&gt;Cortex XSOAR supports the use of &lt;A href="https://en.wikipedia.org/wiki/Markdown" target="_blank" rel="noopener"&gt;Markdown&lt;/A&gt; for formatting, which includes the ability to create tables such as the one in your example.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use the &lt;A href="https://xsoar.pan.dev/docs/reference/scripts/json-to-table" target="_blank" rel="noopener"&gt;JsonToTable script&lt;/A&gt; (included in the Common Scripts pack) to build such tables without having to manually implement the necessary Markdown formatting.&lt;/P&gt;</description>
    <pubDate>Thu, 15 Dec 2022 16:30:19 GMT</pubDate>
    <dc:creator>bwebb</dc:creator>
    <dc:date>2022-12-15T16:30:19Z</dc:date>
    <item>
      <title>Creation of table from arrays</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/creation-of-table-from-arrays/m-p/516987#M1278</link>
      <description>&lt;P&gt;I am trying to create a table something like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JMaton1_1-1665053040919.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/44432i2713B503BDF001C8/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="JMaton1_1-1665053040919.png" alt="JMaton1_1-1665053040919.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I already have arrays (of names in this example) for each situation. So my HasX array would be like ["John", "Roger"] and my 'doesn't have X' array would be&amp;nbsp;["Steve"], and similar for Y with ["Roger", "Steve"] and ["John"] for the two properties.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I feel like I have all the information to turn this into a table like the above but had no luck so far. Any recommendations?&lt;/P&gt;
&lt;P&gt;A formatted table or CSV would be good.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 10:49:01 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/creation-of-table-from-arrays/m-p/516987#M1278</guid>
      <dc:creator>JMaton1</dc:creator>
      <dc:date>2022-10-06T10:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: Creation of table from arrays</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/creation-of-table-from-arrays/m-p/524238#M1536</link>
      <description>&lt;P&gt;Cortex XSOAR supports the use of &lt;A href="https://en.wikipedia.org/wiki/Markdown" target="_blank" rel="noopener"&gt;Markdown&lt;/A&gt; for formatting, which includes the ability to create tables such as the one in your example.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use the &lt;A href="https://xsoar.pan.dev/docs/reference/scripts/json-to-table" target="_blank" rel="noopener"&gt;JsonToTable script&lt;/A&gt; (included in the Common Scripts pack) to build such tables without having to manually implement the necessary Markdown formatting.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2022 16:30:19 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/creation-of-table-from-arrays/m-p/524238#M1536</guid>
      <dc:creator>bwebb</dc:creator>
      <dc:date>2022-12-15T16:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: Creation of table from arrays</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/creation-of-table-from-arrays/m-p/530471#M1790</link>
      <description>&lt;P&gt;Apologies this went by the wayside. I tried this among other options but couldn't get it to produce a table that combined different arrays.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I did end up using JsonToTable which produced a nice output in Microsoft Teams - but only once I had combined the arrays into a singe array of JSON objects.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 13:29:27 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/creation-of-table-from-arrays/m-p/530471#M1790</guid>
      <dc:creator>JMaton1</dc:creator>
      <dc:date>2023-02-09T13:29:27Z</dc:date>
    </item>
  </channel>
</rss>

