<?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: Creating usecase with addEntitlement in Cortex XSOAR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/creating-usecase-with-addentitlement/m-p/615624#M3736</link>
    <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/987106153"&gt;@A.Levy&lt;/a&gt;, alternatively, to use entitlements in email communication, you can copy the functionality implemented in some of our out-of-the-box automation scripts, such as &lt;STRONG&gt;EmailAskUser&lt;/STRONG&gt; (CommonScripts pack) or &lt;STRONG&gt;SendEmailToManager&lt;/STRONG&gt; (Active Directory Query pack).&amp;nbsp;&lt;BR /&gt;The idea is to create an entitlement in your code by calling the system function &lt;STRONG&gt;addEntitlement&lt;/STRONG&gt; and then adding the entitlement string to the email subject line. When the recipient receives the email and replies to it, the answer will be routed to the incident where the entitlement was created.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm sharing here a simple script with this functionality.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;To call the script, please see an example below:&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;!EmailThread allowReply=true body="This is a test email" email=user@example.com persistent=true subject="Testing Email Threads"&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Let me know if you have any questions.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Oct 2024 19:51:01 GMT</pubDate>
    <dc:creator>AbelSantamarina</dc:creator>
    <dc:date>2024-10-29T19:51:01Z</dc:date>
    <item>
      <title>Creating usecase with addEntitlement</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/creating-usecase-with-addentitlement/m-p/615456#M3728</link>
      <description>&lt;P&gt;Hello everyone, I'm try to make a usecase where it will be possible to send email to the XSOAR and instead of creating new incident the email content will be delivered to already open incident based on Incident id or UID with&amp;nbsp;addEntitlement.&lt;BR /&gt;&lt;BR /&gt;after creating an entitlement&amp;nbsp; I send email to the XSOAR (I got ews V2 setup and working) with the entitlement\incident ID in the subject but it creates new incident and not add it's content to the open one.&lt;BR /&gt;&lt;BR /&gt;any one as a guide\know how to make addEntitlement work? thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2024 14:54:59 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/creating-usecase-with-addentitlement/m-p/615456#M3728</guid>
      <dc:creator>A.Levy</dc:creator>
      <dc:date>2024-10-28T14:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: Creating usecase with addEntitlement</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/creating-usecase-with-addentitlement/m-p/615621#M3735</link>
      <description>&lt;P&gt;Best suggestion I can make is to use preprocess rule:&amp;nbsp;&lt;A href="https://xsoar.pan.dev/docs/incidents/incident-pre-processing" target="_blank"&gt;https://xsoar.pan.dev/docs/incidents/incident-pre-processing&lt;/A&gt;&lt;BR /&gt;That way, your incoming incident via email is being linked or updating the previously opened incident based on Incident ID or UID.&amp;nbsp;&lt;BR /&gt;However, adding content to the new one would probably require a custom script that could be pretty complex in this scenario.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2024 18:37:06 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/creating-usecase-with-addentitlement/m-p/615621#M3735</guid>
      <dc:creator>aalfonso</dc:creator>
      <dc:date>2024-10-29T18:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: Creating usecase with addEntitlement</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/creating-usecase-with-addentitlement/m-p/615624#M3736</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/987106153"&gt;@A.Levy&lt;/a&gt;, alternatively, to use entitlements in email communication, you can copy the functionality implemented in some of our out-of-the-box automation scripts, such as &lt;STRONG&gt;EmailAskUser&lt;/STRONG&gt; (CommonScripts pack) or &lt;STRONG&gt;SendEmailToManager&lt;/STRONG&gt; (Active Directory Query pack).&amp;nbsp;&lt;BR /&gt;The idea is to create an entitlement in your code by calling the system function &lt;STRONG&gt;addEntitlement&lt;/STRONG&gt; and then adding the entitlement string to the email subject line. When the recipient receives the email and replies to it, the answer will be routed to the incident where the entitlement was created.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm sharing here a simple script with this functionality.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;To call the script, please see an example below:&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;!EmailThread allowReply=true body="This is a test email" email=user@example.com persistent=true subject="Testing Email Threads"&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Let me know if you have any questions.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2024 19:51:01 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/creating-usecase-with-addentitlement/m-p/615624#M3736</guid>
      <dc:creator>AbelSantamarina</dc:creator>
      <dc:date>2024-10-29T19:51:01Z</dc:date>
    </item>
  </channel>
</rss>

