<?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: Email Classification with Subject in Cortex XSOAR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/email-classification-with-subject/m-p/535005#M1914</link>
    <description>&lt;P&gt;Thank you for your reply, this was something new that I learned but what if the scenario is I have multiple formats as an example.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Email Subject 1: Incident#1213131&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Email Subject 2: Incident#3234234&lt;/P&gt;
&lt;P&gt;Should be classified in "Incidents"&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Email Subject: IOCs&lt;/P&gt;
&lt;P&gt;Should be classified as "IOC"&lt;/P&gt;</description>
    <pubDate>Mon, 20 Mar 2023 05:41:12 GMT</pubDate>
    <dc:creator>vidurasupun</dc:creator>
    <dc:date>2023-03-20T05:41:12Z</dc:date>
    <item>
      <title>Email Classification with Subject</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/email-classification-with-subject/m-p/534838#M1905</link>
      <description>&lt;P&gt;I'm currently using EWSv2 to listen to emails and have a classifier as well for fixed subjects. Is there a approach that I can use to take a part of an email subject to classify emails?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As an example:&lt;/P&gt;
&lt;P&gt;Email Subject 1: Incident#1213131&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Email Subject 2: Incident#3234234&lt;/P&gt;
&lt;P&gt;Should be classified in "Incidents"&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 12:00:27 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/email-classification-with-subject/m-p/534838#M1905</guid>
      <dc:creator>vidurasupun</dc:creator>
      <dc:date>2023-03-17T12:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: Email Classification with Subject</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/email-classification-with-subject/m-p/534963#M1910</link>
      <description>&lt;P&gt;What about the scripts &lt;A href="https://xsoar.pan.dev/docs/reference/playbooks/process-email---generic-v2" target="_blank"&gt;https://xsoar.pan.dev/docs/reference/playbooks/process-email---generic-v2&lt;/A&gt; or &lt;A href="https://xsoar.pan.dev/docs/reference/scripts/parse-email-files" target="_blank"&gt;https://xsoar.pan.dev/docs/reference/scripts/parse-email-files&lt;/A&gt; (use v2 &lt;A href="https://xsoar.pan.dev/docs/reference/scripts/parse-email-files-v2" target="_blank"&gt;https://xsoar.pan.dev/docs/reference/scripts/parse-email-files-v2&lt;/A&gt; )? They use the eml files that you should get from EWSv2 .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By just playing around and testing this should be possible.&lt;/P&gt;</description>
      <pubDate>Sun, 19 Mar 2023 07:01:51 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/email-classification-with-subject/m-p/534963#M1910</guid>
      <dc:creator>nikoolayy1</dc:creator>
      <dc:date>2023-03-19T07:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: Email Classification with Subject</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/email-classification-with-subject/m-p/534980#M1912</link>
      <description>&lt;P&gt;In your classifier, use a transformer to extract only the part of the email subject you want to classify based on.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In this example, I have a (randomly generated demo data) username which is always a first.last name pair. The regex extracts everything after the period, and the classification options you get show only the last name.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 00:37:09 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/email-classification-with-subject/m-p/534980#M1912</guid>
      <dc:creator>chrking</dc:creator>
      <dc:date>2023-03-20T00:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: Email Classification with Subject</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/email-classification-with-subject/m-p/535003#M1913</link>
      <description>&lt;P&gt;Thank you for the reply, however EWS instance pulls emails as incidents already so I was looking something on the preprocessor/Classifier level.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 05:33:21 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/email-classification-with-subject/m-p/535003#M1913</guid>
      <dc:creator>vidurasupun</dc:creator>
      <dc:date>2023-03-20T05:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: Email Classification with Subject</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/email-classification-with-subject/m-p/535005#M1914</link>
      <description>&lt;P&gt;Thank you for your reply, this was something new that I learned but what if the scenario is I have multiple formats as an example.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Email Subject 1: Incident#1213131&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Email Subject 2: Incident#3234234&lt;/P&gt;
&lt;P&gt;Should be classified in "Incidents"&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Email Subject: IOCs&lt;/P&gt;
&lt;P&gt;Should be classified as "IOC"&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 05:41:12 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/email-classification-with-subject/m-p/535005#M1914</guid>
      <dc:creator>vidurasupun</dc:creator>
      <dc:date>2023-03-20T05:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: Email Classification with Subject</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/email-classification-with-subject/m-p/535006#M1915</link>
      <description>&lt;P&gt;Regex is the cause of, and solution to, all problems ‌‌&amp;nbsp;You can still use this technique, you'll just need a slightly more complex transformer, like the attached sample.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;In the end, if you need logic that's too advanced for regex you could write your own transformer in python to output the value you need given specific input. Transformers are just Automations with specific tags to make them show up in the right places.&lt;/P&gt;
&lt;P&gt;StripChars&amp;nbsp;is a nice, simple example of a transformer included in the Filters and Transformers pack that you could use for reference if you need to go this way.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 06:05:40 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/email-classification-with-subject/m-p/535006#M1915</guid>
      <dc:creator>chrking</dc:creator>
      <dc:date>2023-03-20T06:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: Email Classification with Subject</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/email-classification-with-subject/m-p/535255#M1921</link>
      <description>&lt;P&gt;Thanks man, you are a genius &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 18:15:11 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/email-classification-with-subject/m-p/535255#M1921</guid>
      <dc:creator>vidurasupun</dc:creator>
      <dc:date>2023-03-21T18:15:11Z</dc:date>
    </item>
  </channel>
</rss>

