<?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 XSOAR Qradar Integration Set Range Limit in Cortex XSOAR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-qradar-integration-set-range-limit/m-p/471208#M634</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I succeeded XSOAR integration with Qradar. But I keep getting timeout warnings. I solved this problem by entering parameter "--env=REQUEST_TIME OUT=1500". But I caught that the real problem is in the query. To give an example of this, I enter the first integration query as "status='OPEN' and id &amp;gt; 13061". Then XSOAR automatically changes the query to "id &amp;gt; 13061 and status='OPEN' and id &amp;gt; 13061". No problem so far. The problem is that it doesn't specify the range when throwing this query. When I set the range value to "items=0-10" from the QRadar API interface, the query result comes in 15 seconds. However, when the range value is not entered, the same query takes over 20 minutes. I actually set "Number of offenses to pull per API call (max 50)" to 5 in the first integration setting. I think this value is not enough for the range limit.Can you help me on this issue?&lt;/P&gt;</description>
    <pubDate>Tue, 08 Mar 2022 08:27:09 GMT</pubDate>
    <dc:creator>Sucuncuoglu</dc:creator>
    <dc:date>2022-03-08T08:27:09Z</dc:date>
    <item>
      <title>XSOAR Qradar Integration Set Range Limit</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-qradar-integration-set-range-limit/m-p/471208#M634</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I succeeded XSOAR integration with Qradar. But I keep getting timeout warnings. I solved this problem by entering parameter "--env=REQUEST_TIME OUT=1500". But I caught that the real problem is in the query. To give an example of this, I enter the first integration query as "status='OPEN' and id &amp;gt; 13061". Then XSOAR automatically changes the query to "id &amp;gt; 13061 and status='OPEN' and id &amp;gt; 13061". No problem so far. The problem is that it doesn't specify the range when throwing this query. When I set the range value to "items=0-10" from the QRadar API interface, the query result comes in 15 seconds. However, when the range value is not entered, the same query takes over 20 minutes. I actually set "Number of offenses to pull per API call (max 50)" to 5 in the first integration setting. I think this value is not enough for the range limit.Can you help me on this issue?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2022 08:27:09 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-qradar-integration-set-range-limit/m-p/471208#M634</guid>
      <dc:creator>Sucuncuoglu</dc:creator>
      <dc:date>2022-03-08T08:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: XSOAR Qradar Integration Set Range Limit</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-qradar-integration-set-range-limit/m-p/471241#M635</link>
      <description>&lt;P&gt;Hi Sucuncuoglu,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for posting in our Live Community Discussion board. Assuming you're referring to the QRadar v3 integration. I've made a quick review and in the&amp;nbsp;get_incidents_long_running_execution function I can see we're adding the range properly to the API call:&lt;/P&gt;&lt;P&gt;See line 1561 and 1562 :&lt;/P&gt;&lt;P&gt;range_max = offenses_per_fetch - 1 if offenses_per_fetch else MAXIMUM_OFFENSES_PER_FETCH - 1&lt;BR /&gt;range_ = f'items=0-{range_max}'&lt;/P&gt;&lt;P&gt;So I suppose it might be something else that cause this delay. In order to detect what might be gong wrong, would you mind opening a Customer Support Ticket in order to identify what might be the issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Silviu&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Silviu&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2022 09:06:07 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-qradar-integration-set-range-limit/m-p/471241#M635</guid>
      <dc:creator>SilviuMihailDascalu</dc:creator>
      <dc:date>2022-03-08T09:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: XSOAR Qradar Integration Set Range Limit</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-qradar-integration-set-range-limit/m-p/471290#M636</link>
      <description>&lt;P&gt;Hi Silviu,&lt;BR /&gt;&lt;BR /&gt;Thank you for the quick reply.&lt;BR /&gt;I opened the case numbered 02119736. The problem couldn't be solved there and they recommended this place.&lt;BR /&gt;You guessed it right, we use the Qradar V3 integration.&lt;BR /&gt;There is no range in the query to Qradar. It could be caused by line 405.&lt;BR /&gt;&lt;BR /&gt;additional_headers = {'Range': range_} if not offense_id else None&lt;/P&gt;&lt;P&gt;Because the offense_id value is not entered in line 1565. In this case, range becomes None and we query for the whole range.&lt;BR /&gt;raw_offenses = client.offenses_list(range_, filter_=filter_fetch_query, sort=ASCENDING_ID_ORDER)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2022 10:41:02 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-qradar-integration-set-range-limit/m-p/471290#M636</guid>
      <dc:creator>Sucuncuoglu</dc:creator>
      <dc:date>2022-03-08T10:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: XSOAR Qradar Integration Set Range Limit</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-qradar-integration-set-range-limit/m-p/471293#M637</link>
      <description>&lt;P&gt;Hi Silviu,&lt;BR /&gt;&lt;BR /&gt;I want to correct my mistake, why is the range value None when we do not enter the offense id?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2022 11:11:36 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-qradar-integration-set-range-limit/m-p/471293#M637</guid>
      <dc:creator>Sucuncuoglu</dc:creator>
      <dc:date>2022-03-08T11:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: XSOAR Qradar Integration Set Range Limit</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-qradar-integration-set-range-limit/m-p/471390#M638</link>
      <description>&lt;P&gt;Hi Silviu,&lt;BR /&gt;&lt;BR /&gt;We found the cause of the problem. The time is getting longer because sorting is used in the query.&lt;BR /&gt;As a result of your guidance, we reached the solution.&lt;BR /&gt;&lt;BR /&gt;Thank you for your support.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2022 16:20:30 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-qradar-integration-set-range-limit/m-p/471390#M638</guid>
      <dc:creator>Sucuncuoglu</dc:creator>
      <dc:date>2022-03-08T16:20:30Z</dc:date>
    </item>
  </channel>
</rss>

