<?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: Alerts with weekend trigger in Cortex XDR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/alerts-with-weekend-trigger/m-p/521988#M3172</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/206384"&gt;@Cyber1985&lt;/a&gt;&amp;nbsp;that should be possible with extract_time().&lt;/P&gt;
&lt;P&gt;Here's how I'd start off:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;preset = xdr_process
| alter dayOfWeek = extract_time(_time , "DAYOFWEEK")&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What do you suggest the next few lines to be?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ref:&amp;nbsp;&lt;A href="https://docs.paloaltonetworks.com/cortex/cortex-xdr/cortex-xdr-xql-language-reference/xql-functions-reference/functions-reference-extract-time" target="_blank"&gt;https://docs.paloaltonetworks.com/cortex/cortex-xdr/cortex-xdr-xql-language-reference/xql-functions-reference/functions-reference-extract-time&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Nov 2022 07:54:52 GMT</pubDate>
    <dc:creator>bbarmanroy</dc:creator>
    <dc:date>2022-11-22T07:54:52Z</dc:date>
    <item>
      <title>Alerts with weekend trigger</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/alerts-with-weekend-trigger/m-p/521795#M3168</link>
      <description>&lt;P&gt;Hello dear community,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As you know, weekends and on holidays the priority of alerts rises.&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a way to trigger in XQL Rules which are only fired on weekends and on self selected holidays?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Like on weekend anybody who opens powershell triggers an suspicious weekend alert.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to get a separation between work days and non workdays. Simple. But how to do it?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Rob&lt;/P&gt;</description>
      <pubDate>Sat, 19 Nov 2022 10:04:06 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/alerts-with-weekend-trigger/m-p/521795#M3168</guid>
      <dc:creator>Cyber1985</dc:creator>
      <dc:date>2022-11-19T10:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: Alerts with weekend trigger</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/alerts-with-weekend-trigger/m-p/521988#M3172</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/206384"&gt;@Cyber1985&lt;/a&gt;&amp;nbsp;that should be possible with extract_time().&lt;/P&gt;
&lt;P&gt;Here's how I'd start off:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;preset = xdr_process
| alter dayOfWeek = extract_time(_time , "DAYOFWEEK")&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What do you suggest the next few lines to be?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ref:&amp;nbsp;&lt;A href="https://docs.paloaltonetworks.com/cortex/cortex-xdr/cortex-xdr-xql-language-reference/xql-functions-reference/functions-reference-extract-time" target="_blank"&gt;https://docs.paloaltonetworks.com/cortex/cortex-xdr/cortex-xdr-xql-language-reference/xql-functions-reference/functions-reference-extract-time&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2022 07:54:52 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/alerts-with-weekend-trigger/m-p/521988#M3172</guid>
      <dc:creator>bbarmanroy</dc:creator>
      <dc:date>2022-11-22T07:54:52Z</dc:date>
    </item>
  </channel>
</rss>

