<?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: Extract Domains from Phishing Attached Email in Cortex XSOAR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/extract-domains-from-phishing-attached-email/m-p/519977#M1365</link>
    <description>&lt;P&gt;Hi Basel,&lt;/P&gt;
&lt;P&gt;If you run the ParseEmailFilesV2 automation with the "auto-extract=inline" argument, all domains will be extracted from the email too, into the ${Domain.Name} context.&lt;/P&gt;
&lt;P&gt;Alternatively you can also run "extractIndicators" on the ${Email} key (after running ParseEmailFilesV2), then the domains will be extracted under ${ExtractedIndicators.Domain}. Attached an example:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ivandijk_1-1667379363585.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/45079i5D246ED8BF5C3CD7/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="ivandijk_1-1667379363585.png" alt="ivandijk_1-1667379363585.png" /&gt;&lt;/span&gt;&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;Regarding the conversion, I'm not sure what XML you are referring to, we would need to see the XML, the command you ran, the expected result and the actual result.&lt;/P&gt;
&lt;P&gt;Let me know if that helps.&lt;/P&gt;</description>
    <pubDate>Wed, 02 Nov 2022 08:56:13 GMT</pubDate>
    <dc:creator>ivandijk</dc:creator>
    <dc:date>2022-11-02T08:56:13Z</dc:date>
    <item>
      <title>Extract Domains from Phishing Attached Email</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/extract-domains-from-phishing-attached-email/m-p/519606#M1358</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope all are doing well; how can I extract the domains from the phishing attached files?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I extracted the email using " ParseEmailFilesV2 "; exported all the email parameters such as HTML and others successfully; however, once I tried to convert HTML XML output to JSON using "ConvertXmlToJson" automation, it did not work as expected.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need to convert HTML - XML format to JSON with all domains available to be appended; any idea, team, how I can achieve it?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Basel&lt;/P&gt;</description>
      <pubDate>Sat, 29 Oct 2022 13:31:13 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/extract-domains-from-phishing-attached-email/m-p/519606#M1358</guid>
      <dc:creator>bzahran</dc:creator>
      <dc:date>2022-10-29T13:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: Extract Domains from Phishing Attached Email</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/extract-domains-from-phishing-attached-email/m-p/519977#M1365</link>
      <description>&lt;P&gt;Hi Basel,&lt;/P&gt;
&lt;P&gt;If you run the ParseEmailFilesV2 automation with the "auto-extract=inline" argument, all domains will be extracted from the email too, into the ${Domain.Name} context.&lt;/P&gt;
&lt;P&gt;Alternatively you can also run "extractIndicators" on the ${Email} key (after running ParseEmailFilesV2), then the domains will be extracted under ${ExtractedIndicators.Domain}. Attached an example:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ivandijk_1-1667379363585.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/45079i5D246ED8BF5C3CD7/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="ivandijk_1-1667379363585.png" alt="ivandijk_1-1667379363585.png" /&gt;&lt;/span&gt;&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;Regarding the conversion, I'm not sure what XML you are referring to, we would need to see the XML, the command you ran, the expected result and the actual result.&lt;/P&gt;
&lt;P&gt;Let me know if that helps.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2022 08:56:13 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/extract-domains-from-phishing-attached-email/m-p/519977#M1365</guid>
      <dc:creator>ivandijk</dc:creator>
      <dc:date>2022-11-02T08:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: Extract Domains from Phishing Attached Email</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/extract-domains-from-phishing-attached-email/m-p/520501#M1373</link>
      <description>&lt;P&gt;I never knew there were so many premade parsing scripts. &lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/191867"&gt;@ivandijk&lt;/a&gt; is right about this. Better try ParseEmailFilesV2 as Ivan mentioned but there is an old one on python2 just in case but python2 is just supported for existing scripts and intergrations so you may not create a new script using the original one &lt;A href="https://xsoar.pan.dev/docs/integrations/code-conventions" target="_blank"&gt;https://xsoar.pan.dev/docs/integrations/code-conventions&lt;/A&gt; so better use the V2.&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="nikoolayy1_1-1667833402656.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/45194iA92A991F89F51188/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nikoolayy1_1-1667833402656.png" alt="nikoolayy1_1-1667833402656.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2022 15:06:48 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/extract-domains-from-phishing-attached-email/m-p/520501#M1373</guid>
      <dc:creator>nikoolayy1</dc:creator>
      <dc:date>2022-11-07T15:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: Extract Domains from Phishing Attached Email</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/extract-domains-from-phishing-attached-email/m-p/522240#M1446</link>
      <description>&lt;P&gt;Thanks a lot, Team, I used&amp;nbsp;&lt;SPAN&gt;ParseEmailFilesV2&amp;nbsp; and everything looks perfect&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 14:08:20 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/extract-domains-from-phishing-attached-email/m-p/522240#M1446</guid>
      <dc:creator>bzahran</dc:creator>
      <dc:date>2022-11-23T14:08:20Z</dc:date>
    </item>
  </channel>
</rss>

