<?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: FirePower bulk API GET request in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/firepower-bulk-api-get-request/m-p/4680364#M1093123</link>
    <description>&lt;P&gt;This is Pier, from Cisco CX (Customer Experience) team.&lt;/P&gt;
&lt;P&gt;I’ll try to help you with your need.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Indeed, the limit of 120 requests per minute is real, and it’s not even possible to be configured.&lt;/P&gt;
&lt;P&gt;This is according to the FMC REST API documentation: &lt;A href="https://www.cisco.com/c/en/us/td/docs/security/firepower/70/api/REST/firepower_management_center_rest_api_quick_start_guide_70.pdf" target="_blank"&gt;https://www.cisco.com/c/en/us/td/docs/security/firepower/70/api/REST/firepower_management_center_rest_api_quick_start_guide_70.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The only things that I found, that can be helpful for you, are:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;The possibility to increase the “limit” parameter in GET queries.&lt;BR /&gt;By default, a GET request will return only up to 25 items, but this can be increased to 1000 using an explicit “limit” parameter.&lt;/LI&gt;
&lt;LI&gt;There is a possibility to use “bulk” requests.&lt;BR /&gt;However, this is only used in case of POST requests, i.e. when you are creating items. &lt;BR /&gt;It’s helpful, because you can pass many objects, structured as a JSON array (as described in &lt;A href="https://www.cisco.com/c/en/us/support/docs/security/firepower-management-center/215972-push-objects-in-bulk-to-fmc-using-rest-a.html" target="_blank"&gt;https://www.cisco.com/c/en/us/support/docs/security/firepower-management-center/215972-push-objects-in-bulk-to-fmc-using-rest-a.html&lt;/A&gt;).&lt;BR /&gt;But, I understand that this isn’t probably helpful for you, because you’re trying just to export data, not to configure them, right?&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you share some examples of the API queries that you are calling?&lt;BR /&gt;Maybe, depending on the kind of calls that you’re using, we can find other solutions that can help you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards.&lt;/P&gt;</description>
    <pubDate>Fri, 02 Sep 2022 12:57:40 GMT</pubDate>
    <dc:creator>pglave</dc:creator>
    <dc:date>2022-09-02T12:57:40Z</dc:date>
    <item>
      <title>FirePower bulk API GET request</title>
      <link>https://community.cisco.com/t5/network-security/firepower-bulk-api-get-request/m-p/4663546#M1092395</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm trying to export a huge amount of data from FMC.&lt;BR /&gt;Because of that, I must use many requests and the process takes a lot of time (in my case 20 hours, it's a huge network with many policies and objects).&lt;BR /&gt;I looked at the API docs and came across a request limit of 120 per minute.&lt;BR /&gt;I initially thought of running a parallel get request but that will not work because of a request limit of 120.&lt;BR /&gt;Can someone suggest how to execute multiple GET requests at a time, or include many objects (group,host,domain,subnets,ect) in a single request?&lt;/P&gt;&lt;P&gt;Any help will be much appreciated&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2022 09:04:11 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/firepower-bulk-api-get-request/m-p/4663546#M1092395</guid>
      <dc:creator>meidanmeshulam</dc:creator>
      <dc:date>2022-08-04T09:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: FirePower bulk API GET request</title>
      <link>https://community.cisco.com/t5/network-security/firepower-bulk-api-get-request/m-p/4680364#M1093123</link>
      <description>&lt;P&gt;This is Pier, from Cisco CX (Customer Experience) team.&lt;/P&gt;
&lt;P&gt;I’ll try to help you with your need.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Indeed, the limit of 120 requests per minute is real, and it’s not even possible to be configured.&lt;/P&gt;
&lt;P&gt;This is according to the FMC REST API documentation: &lt;A href="https://www.cisco.com/c/en/us/td/docs/security/firepower/70/api/REST/firepower_management_center_rest_api_quick_start_guide_70.pdf" target="_blank"&gt;https://www.cisco.com/c/en/us/td/docs/security/firepower/70/api/REST/firepower_management_center_rest_api_quick_start_guide_70.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The only things that I found, that can be helpful for you, are:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;The possibility to increase the “limit” parameter in GET queries.&lt;BR /&gt;By default, a GET request will return only up to 25 items, but this can be increased to 1000 using an explicit “limit” parameter.&lt;/LI&gt;
&lt;LI&gt;There is a possibility to use “bulk” requests.&lt;BR /&gt;However, this is only used in case of POST requests, i.e. when you are creating items. &lt;BR /&gt;It’s helpful, because you can pass many objects, structured as a JSON array (as described in &lt;A href="https://www.cisco.com/c/en/us/support/docs/security/firepower-management-center/215972-push-objects-in-bulk-to-fmc-using-rest-a.html" target="_blank"&gt;https://www.cisco.com/c/en/us/support/docs/security/firepower-management-center/215972-push-objects-in-bulk-to-fmc-using-rest-a.html&lt;/A&gt;).&lt;BR /&gt;But, I understand that this isn’t probably helpful for you, because you’re trying just to export data, not to configure them, right?&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you share some examples of the API queries that you are calling?&lt;BR /&gt;Maybe, depending on the kind of calls that you’re using, we can find other solutions that can help you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 12:57:40 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/firepower-bulk-api-get-request/m-p/4680364#M1093123</guid>
      <dc:creator>pglave</dc:creator>
      <dc:date>2022-09-02T12:57:40Z</dc:date>
    </item>
  </channel>
</rss>

