<?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 [Multi-Tenancy] Cortex XDR Connected Endpoints tenant by tenant in Cortex XSOAR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/multi-tenancy-cortex-xdr-connected-endpoints-tenant-by-tenant/m-p/537989#M1972</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In a dashboard, I want to display the total number of connected endpoints tenant by tenant with a pie chart if possible. There is a script named "&lt;SPAN class="single-value-text" aria-live="polite" aria-atomic="true"&gt;XDRConnectedEndpoints" however it can only display the total number in all tenants. How should I approach to this?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 07 Apr 2023 13:14:00 GMT</pubDate>
    <dc:creator>EnesOzdemir</dc:creator>
    <dc:date>2023-04-07T13:14:00Z</dc:date>
    <item>
      <title>[Multi-Tenancy] Cortex XDR Connected Endpoints tenant by tenant</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/multi-tenancy-cortex-xdr-connected-endpoints-tenant-by-tenant/m-p/537989#M1972</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In a dashboard, I want to display the total number of connected endpoints tenant by tenant with a pie chart if possible. There is a script named "&lt;SPAN class="single-value-text" aria-live="polite" aria-atomic="true"&gt;XDRConnectedEndpoints" however it can only display the total number in all tenants. How should I approach to this?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2023 13:14:00 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/multi-tenancy-cortex-xdr-connected-endpoints-tenant-by-tenant/m-p/537989#M1972</guid>
      <dc:creator>EnesOzdemir</dc:creator>
      <dc:date>2023-04-07T13:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: [Multi-Tenancy] Cortex XDR Connected Endpoints tenant by tenant</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/multi-tenancy-cortex-xdr-connected-endpoints-tenant-by-tenant/m-p/538289#M1985</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/204366"&gt;@EnesOzdemir&lt;/a&gt;&amp;nbsp;The script is a great start. I suggest you duplicate the script and edit the lines 23 and 24. If you look closely, line 23 specifically asks to 'get' the count. Line 24 returns that as a result. If you identify how to get the actual tenant names in line 23, you can achieve your desired result. Please let us know how it goes. Good luck!&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2023 19:24:52 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/multi-tenancy-cortex-xdr-connected-endpoints-tenant-by-tenant/m-p/538289#M1985</guid>
      <dc:creator>amore</dc:creator>
      <dc:date>2023-04-11T19:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: [Multi-Tenancy] Cortex XDR Connected Endpoints tenant by tenant</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/multi-tenancy-cortex-xdr-connected-endpoints-tenant-by-tenant/m-p/538420#M1994</link>
      <description>&lt;P&gt;Hi, I managed to do what I want with &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;pie = BarColumnPieWidget()&lt;BR /&gt;tenant_name = get_tenant_account_name()&lt;BR /&gt;pie.add_category(tenant_name, count)&lt;BR /&gt;return_results(pie)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This code will be executed on all the tenants and the results will return to the main server. The result looks something like&lt;/P&gt;
&lt;P&gt;[{name: fieldname, 'value': count}] so not that confusing at all.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope there is also a way to execute scripts on a single tenant because I now just want to display a simple markdown table in a dashboard. I know that it is achievable with a simple markdown text widget however configuring a list much easier than configuring a widget. Lists can be used across xsoar war rooms dynamic sections and everything whereas widget contents cannot be used anywhere else.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2023 10:13:32 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/multi-tenancy-cortex-xdr-connected-endpoints-tenant-by-tenant/m-p/538420#M1994</guid>
      <dc:creator>EnesOzdemir</dc:creator>
      <dc:date>2023-04-12T10:13:32Z</dc:date>
    </item>
  </channel>
</rss>

