<?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: getting ERROR while fetching username from the email header in Cortex XSOAR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/getting-error-while-fetching-username-from-the-email-header/m-p/553007#M2493</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/287891"&gt;@gyldz&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks. I made the changes as you suggested&amp;nbsp;but still facing the same issue.&lt;/P&gt;
&lt;DIV class="row entry-parent"&gt;
&lt;DIV class="floated left aligned sixteen wide mobile six wide tablet sixteen wide computer column"&gt;
&lt;DIV class="entry-metadata"&gt;
&lt;DIV class="entry-task-status semi-bold warning"&gt;&lt;SPAN&gt;(Execution paused, waiting for manual input&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="entry-task-name"&gt;
&lt;DIV class="inner-entry-task-name"&gt;&lt;STRONG&gt;&lt;SPAN&gt;#365:&lt;/SPAN&gt;&lt;/STRONG&gt;&amp;nbsp;Get User DisplayName&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="entry-view vertical-strech"&gt;
&lt;DIV class="vertical-strech demisto-data"&gt;
&lt;DIV&gt;
&lt;DIV class="entry-note-view" data-test-id="entry-note-markdown"&gt;
&lt;DIV&gt;
&lt;DIV class="entry-markdown-view"&gt;
&lt;DIV class="preplacer"&gt;Missing argument &lt;STRONG&gt;value&lt;/STRONG&gt; for script &lt;STRONG&gt;Set&lt;/STRONG&gt; at Task &lt;STRONG&gt;Get User DisplayName&lt;/STRONG&gt; (#365) - stopping playbook &lt;STRONG&gt;Phishing Handling &lt;/STRONG&gt;execution)&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AsmitaAsmita_0-1691550441348.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/52605i4A7CC05A86C04C2A/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="AsmitaAsmita_0-1691550441348.png" alt="AsmitaAsmita_0-1691550441348.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 09 Aug 2023 03:16:17 GMT</pubDate>
    <dc:creator>Asmita.Asmita</dc:creator>
    <dc:date>2023-08-09T03:16:17Z</dc:date>
    <item>
      <title>getting ERROR while fetching username from the email header</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/getting-error-while-fetching-username-from-the-email-header/m-p/552752#M2469</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using this below-attached snapshot configuration to get the username from the email header. while running the playbook , it's capturing the output in the context data but also giving the ERROR:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Execution paused, waiting for manual input&amp;nbsp;#364: Get User DisplayName&amp;nbsp;Missing argument value for script Set at Task Get User DisplayName (#364) - stopping Phishing playbook .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can anyone for this?&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2023 10:05:57 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/getting-error-while-fetching-username-from-the-email-header/m-p/552752#M2469</guid>
      <dc:creator>Asmita.Asmita</dc:creator>
      <dc:date>2023-08-07T10:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: getting ERROR while fetching username from the email header</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/getting-error-while-fetching-username-from-the-email-header/m-p/552769#M2470</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/305378"&gt;@Asmita.Asmita&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think you forgot to add the screenshot. Could you please add it?&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2023 12:35:51 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/getting-error-while-fetching-username-from-the-email-header/m-p/552769#M2470</guid>
      <dc:creator>gyldz</dc:creator>
      <dc:date>2023-08-07T12:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: getting ERROR while fetching username from the email header</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/getting-error-while-fetching-username-from-the-email-header/m-p/552831#M2472</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="email_Headers_ error.jpg" style="width: 601px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/52580i4BF972170287E887/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="email_Headers_ error.jpg" alt="email_Headers_ error.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2023 00:58:21 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/getting-error-while-fetching-username-from-the-email-header/m-p/552831#M2472</guid>
      <dc:creator>Asmita.Asmita</dc:creator>
      <dc:date>2023-08-08T00:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: getting ERROR while fetching username from the email header</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/getting-error-while-fetching-username-from-the-email-header/m-p/552912#M2481</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/305378"&gt;@Asmita.Asmita&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you share the value of that field by obfuscating the username? I believe the delimiter should be&amp;nbsp;@ instead of &amp;lt;. It worked for me when I use the&amp;nbsp;@ but I got the same error with &amp;lt; as it does not exist in that field&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gyldz_0-1691492578780.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/52593i84686CF75128BD61/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="gyldz_0-1691492578780.png" alt="gyldz_0-1691492578780.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2023 11:03:20 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/getting-error-while-fetching-username-from-the-email-header/m-p/552912#M2481</guid>
      <dc:creator>gyldz</dc:creator>
      <dc:date>2023-08-08T11:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: getting ERROR while fetching username from the email header</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/getting-error-while-fetching-username-from-the-email-header/m-p/553007#M2493</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/287891"&gt;@gyldz&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks. I made the changes as you suggested&amp;nbsp;but still facing the same issue.&lt;/P&gt;
&lt;DIV class="row entry-parent"&gt;
&lt;DIV class="floated left aligned sixteen wide mobile six wide tablet sixteen wide computer column"&gt;
&lt;DIV class="entry-metadata"&gt;
&lt;DIV class="entry-task-status semi-bold warning"&gt;&lt;SPAN&gt;(Execution paused, waiting for manual input&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="entry-task-name"&gt;
&lt;DIV class="inner-entry-task-name"&gt;&lt;STRONG&gt;&lt;SPAN&gt;#365:&lt;/SPAN&gt;&lt;/STRONG&gt;&amp;nbsp;Get User DisplayName&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="entry-view vertical-strech"&gt;
&lt;DIV class="vertical-strech demisto-data"&gt;
&lt;DIV&gt;
&lt;DIV class="entry-note-view" data-test-id="entry-note-markdown"&gt;
&lt;DIV&gt;
&lt;DIV class="entry-markdown-view"&gt;
&lt;DIV class="preplacer"&gt;Missing argument &lt;STRONG&gt;value&lt;/STRONG&gt; for script &lt;STRONG&gt;Set&lt;/STRONG&gt; at Task &lt;STRONG&gt;Get User DisplayName&lt;/STRONG&gt; (#365) - stopping playbook &lt;STRONG&gt;Phishing Handling &lt;/STRONG&gt;execution)&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AsmitaAsmita_0-1691550441348.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/52605i4A7CC05A86C04C2A/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="AsmitaAsmita_0-1691550441348.png" alt="AsmitaAsmita_0-1691550441348.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2023 03:16:17 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/getting-error-while-fetching-username-from-the-email-header/m-p/553007#M2493</guid>
      <dc:creator>Asmita.Asmita</dc:creator>
      <dc:date>2023-08-09T03:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: getting ERROR while fetching username from the email header</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/getting-error-while-fetching-username-from-the-email-header/m-p/553043#M2495</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/305378"&gt;@Asmita.Asmita&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you also paste the value for the Email.HeadersMap.to. You can obfuscate the username part. It would help to see the structure of the context.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2023 07:30:04 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/getting-error-while-fetching-username-from-the-email-header/m-p/553043#M2495</guid>
      <dc:creator>gyldz</dc:creator>
      <dc:date>2023-08-09T07:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: getting ERROR while fetching username from the email header</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/getting-error-while-fetching-username-from-the-email-header/m-p/553172#M2502</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/287891"&gt;@gyldz&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;will this snapshot works for you?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AsmitaAsmita_0-1691632097749.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/52630i4366B7E8A7B4315D/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="AsmitaAsmita_0-1691632097749.png" alt="AsmitaAsmita_0-1691632097749.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Workflow of the Playbook:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;1. Acknowledge Incident is Received&lt;/DIV&gt;
&lt;DIV&gt;2. Get Reporter AD Account Info&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; a. Check Is input is&amp;nbsp;&lt;/SPAN&gt;valid&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; If NO, Playbook Complete&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; -If YES,&amp;nbsp; Then check Is the source from Valid&amp;nbsp;Email ID(abc123@XYZ.com)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; i. If Yes, Then Parse mail sample(.eml and .msg)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; ii. Quering from AD to get the user information(User Email address, User DisplayName.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; iii. Then Complete the Playbook.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; ELSE,&amp;nbsp; &amp;nbsp;AD Query to User Info by ad-search (Active Directory Query v2) using FILTER: (&amp;amp;(objectcategory=User)(mail=${inputs.emailAddress}))&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; i. {Extract from mail Header instead}&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; Get User Mail Address &amp;amp; Get User DisplayName(error: Missing argument value for script Set at Task Get User DisplayName (#365) - stopping playbook Phishing Handling execution&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; ii. Start User Info Enrichment(This step is completely not working)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; Get User Email Address &amp;amp; Get User DisplayName &amp;amp; Get User Manger &amp;amp; Get User Office Location &amp;amp; Get User Site Location, Get User Last Password Reset Date&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 10 Aug 2023 02:37:18 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/getting-error-while-fetching-username-from-the-email-header/m-p/553172#M2502</guid>
      <dc:creator>Asmita.Asmita</dc:creator>
      <dc:date>2023-08-10T02:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: getting ERROR while fetching username from the email header</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/getting-error-while-fetching-username-from-the-email-header/m-p/553346#M2510</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/305378"&gt;@Asmita.Asmita&lt;/a&gt;, I think regex might help you better. Screenshot below, showing different transformers used in sequence. You do not need to use all, just stop where the data meets your exact requirements. Text after the arrow shows data output.&amp;nbsp;&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="Screenshot 2023-08-11 at 8.10.54 am.png" style="width: 746px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/52673i863B5102ADB6AD61/image-dimensions/746x427/is-moderation-mode/true?v=v2" width="746" height="427" role="button" title="Screenshot 2023-08-11 at 8.10.54 am.png" alt="Screenshot 2023-08-11 at 8.10.54 am.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please note that the ParseEmailFileV2 command generates other keys that might contain the information you require. You might find a better format under ${Email.To}&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 22:22:56 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/getting-error-while-fetching-username-from-the-email-header/m-p/553346#M2510</guid>
      <dc:creator>jfernandes1</dc:creator>
      <dc:date>2023-08-10T22:22:56Z</dc:date>
    </item>
  </channel>
</rss>

