<?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: XQL Query: Hunting for git related activity not related to Github in Cortex XDR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-hunting-for-git-related-activity-not-related-to-github/m-p/541346#M4304</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/276026"&gt;@PV_Byrd&lt;/a&gt;,&amp;nbsp;thank you for writing to Live Community.&lt;BR /&gt;&lt;BR /&gt;Please allow me some time to figure out an answer.&lt;/P&gt;</description>
    <pubDate>Sun, 07 May 2023 23:42:06 GMT</pubDate>
    <dc:creator>mavraham</dc:creator>
    <dc:date>2023-05-07T23:42:06Z</dc:date>
    <item>
      <title>XQL Query: Hunting for git related activity not related to Github</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-hunting-for-git-related-activity-not-related-to-github/m-p/541063#M4295</link>
      <description>&lt;P&gt;Good Day,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am fairly new to Cortex but have been looking to detect git related activity not associated to Github. I believe I have a decent grasp on the volume as well as the observed destinations. I am running into issues differentiating what initiated these flows (HTTP/S, SSH, Etc.). The only remote port that shows in the network story is DNS(53).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am wondering if I need to join another dataset and how would I go about doing so? Or if there is a better way to get this result set outside of network story&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below is what I have so far, any help would be greatly appreciated:&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="100%"&gt;config case_sensitive = false&lt;BR /&gt;| preset = network_story&lt;BR /&gt;| filter (dns_resolutions != null)&lt;BR /&gt;| arrayexpand dns_resolutions&lt;BR /&gt;| alter Resolution_Value = dns_resolutions -&amp;gt; value{}, Resolution_Name = dns_resolutions -&amp;gt; name{}&lt;BR /&gt;| fields agent_hostname , actor_process_image_name , actor_process_image_name , actor_process_command_line , Resolution_Name , Resolution_Value , dns_query_type , dns_resolutions , dns_query_name , dns_reply_code, user_id , actor_effective_username , action_local_port , action_remote_port &lt;BR /&gt;| filter Resolution_Name not contains "github" and actor_process_command_line contains "http" and actor_process_command_line contains "git"&lt;BR /&gt;| sort desc actor_process_command_line&lt;BR /&gt;| dedup actor_process_command_line&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
      <pubDate>Thu, 04 May 2023 14:49:56 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-hunting-for-git-related-activity-not-related-to-github/m-p/541063#M4295</guid>
      <dc:creator>PV_Byrd</dc:creator>
      <dc:date>2023-05-04T14:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: XQL Query: Hunting for git related activity not related to Github</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-hunting-for-git-related-activity-not-related-to-github/m-p/541346#M4304</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/276026"&gt;@PV_Byrd&lt;/a&gt;,&amp;nbsp;thank you for writing to Live Community.&lt;BR /&gt;&lt;BR /&gt;Please allow me some time to figure out an answer.&lt;/P&gt;</description>
      <pubDate>Sun, 07 May 2023 23:42:06 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-hunting-for-git-related-activity-not-related-to-github/m-p/541346#M4304</guid>
      <dc:creator>mavraham</dc:creator>
      <dc:date>2023-05-07T23:42:06Z</dc:date>
    </item>
  </channel>
</rss>

