<?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: CSOAR Pre processing rule with scheduled jobs in Cortex XSOAR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/csoar-pre-processing-rule-with-scheduled-jobs/m-p/643563#M3780</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/258347"&gt;@assubramania&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;SPAN&gt;How can we set the preprocess rule to drop any incidents created by schedule jobs?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For example: any incident category=job and some incident field like description contains "False". The playbook in schedule Job, will run some tasks and condition and will mark the incident description with "False" if that incident is False and need to be dropped by pre-process rule.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Hello,&lt;BR /&gt;To set a preprocess rule in ADF V2 to drop incidents created by scheduled jobs, you can create a rule that checks the incident category and description fields. Here's a concise comment:&lt;/P&gt;
&lt;P&gt;"Create a preprocess rule to drop incidents where category='job' and description contains 'False'."&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;James Keen&lt;/P&gt;</description>
    <pubDate>Thu, 21 Nov 2024 09:47:45 GMT</pubDate>
    <dc:creator>james598keen</dc:creator>
    <dc:date>2024-11-21T09:47:45Z</dc:date>
    <item>
      <title>CSOAR Pre processing rule with scheduled jobs</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/csoar-pre-processing-rule-with-scheduled-jobs/m-p/643518#M3779</link>
      <description>&lt;P&gt;&lt;SPAN&gt;How can we set the preprocess rule to drop any incidents created by schedule jobs?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For example: any incident category=job and some incident field like description contains "False". The playbook in schedule Job, will run some tasks and condition and will mark the incident description with "False" if that incident is False and need to be dropped by pre-process rule.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 09:33:07 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/csoar-pre-processing-rule-with-scheduled-jobs/m-p/643518#M3779</guid>
      <dc:creator>assubramania</dc:creator>
      <dc:date>2024-11-21T09:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: CSOAR Pre processing rule with scheduled jobs</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/csoar-pre-processing-rule-with-scheduled-jobs/m-p/643563#M3780</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/258347"&gt;@assubramania&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;SPAN&gt;How can we set the preprocess rule to drop any incidents created by schedule jobs?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For example: any incident category=job and some incident field like description contains "False". The playbook in schedule Job, will run some tasks and condition and will mark the incident description with "False" if that incident is False and need to be dropped by pre-process rule.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Hello,&lt;BR /&gt;To set a preprocess rule in ADF V2 to drop incidents created by scheduled jobs, you can create a rule that checks the incident category and description fields. Here's a concise comment:&lt;/P&gt;
&lt;P&gt;"Create a preprocess rule to drop incidents where category='job' and description contains 'False'."&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;James Keen&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 09:47:45 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/csoar-pre-processing-rule-with-scheduled-jobs/m-p/643563#M3780</guid>
      <dc:creator>james598keen</dc:creator>
      <dc:date>2024-11-21T09:47:45Z</dc:date>
    </item>
    <item>
      <title>Re: CSOAR Pre processing rule with scheduled jobs</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/csoar-pre-processing-rule-with-scheduled-jobs/m-p/644081#M3781</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/258347"&gt;@assubramania&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is not possible and it is by design, based on the definition of the incident lifecycle in XSOAR, as described&amp;nbsp;&lt;A href="https://xsoar.pan.dev/docs/incidents/incident-xsoar-incident-lifecycle" target="_self"&gt;here&lt;/A&gt;. &lt;BR /&gt;Pre-processing rules are intended to perform certain actions and validations &lt;STRONG&gt;before&lt;/STRONG&gt; incidents are ingested or created in XSOAR, with the purpose of controlling whether they will be dropped, linked or closed, depending on these validations.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Incidents created from jobs, whether they are time-triggered or feed-triggered, are purposedly created and therefore pre-processing rules don't apply to them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you're looking to delete incidents created from jobs, you can create a clean-up job that runs every 3 or 6 months, and that job will go back in time and retrieve all incidents created by jobs with description "False" or any other condition. The playbook for this clean-up job can be very simple, with just a few tasks, including&amp;nbsp;a task with the command&amp;nbsp;&lt;STRONG&gt;DeleteIncidentsByQuery&lt;/STRONG&gt;, which will delete past incidents based on a query.&amp;nbsp; This automation requires to have an instance of Core Rest API integration enabled.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if you have any questions.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 14:27:37 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/csoar-pre-processing-rule-with-scheduled-jobs/m-p/644081#M3781</guid>
      <dc:creator>AbelSantamarina</dc:creator>
      <dc:date>2024-11-21T14:27:37Z</dc:date>
    </item>
  </channel>
</rss>

