<?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: FMC API Maximum Objects - 1000? in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/fmc-api-maximum-objects-1000/m-p/3759470#M993138</link>
    <description>&lt;P&gt;1000 is the limit in Firepower 6.2.x.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.cisco.com/c/en/us/td/docs/security/firepower/622/api/REST/Firepower_Management_Center_REST_API_Quick_Start_Guide_622/objects_in_the_rest_api.html#reference_zmj_lny_1cb" target="_blank"&gt;https://www.cisco.com/c/en/us/td/docs/security/firepower/622/api/REST/Firepower_Management_Center_REST_API_Quick_Start_Guide_622/objects_in_the_rest_api.html#reference_zmj_lny_1cb&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;They haven't updated that guide for 6.3 yet - it may have changed as they have been working on increasing API functionality a lot.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 07 Dec 2018 09:25:25 GMT</pubDate>
    <dc:creator>Marvin Rhoads</dc:creator>
    <dc:date>2018-12-07T09:25:25Z</dc:date>
    <item>
      <title>FMC API Maximum Objects - 1000?</title>
      <link>https://community.cisco.com/t5/network-security/fmc-api-maximum-objects-1000/m-p/3758869#M993117</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have an FMC with 1260 TCP/UDP protocol objects configured in it. However when I try to pull down all the objects via a python script using&amp;nbsp;a GET request using this URL:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://10.0.0.1/api/fmc_config/v1/domain/12345678-12345678/object/protocolportobjects?limit=2000" target="_blank"&gt;https://10.0.0.1/api/fmc_config/v1/domain/12345678-12345678/object/protocolportobjects?limit=2000&lt;/A&gt; &lt;STRONG&gt;(&amp;lt;&amp;lt;notice the 2000 here)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Only 1000 objects are extracted.&lt;/P&gt;&lt;P&gt;The script writes the GET data to a file, and in the file is the "links" section:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"links": {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "self": "&lt;A href="https://10.232.6.65/api/fmc_config/v1/domain/12345678-12345678/object/protocolportobjects?offset=0&amp;amp;limit=1000" target="_blank"&gt;https://10.232.6.65/api/fmc_config/v1/domain/12345678-12345678/object/protocolportobjects?offset=0&amp;amp;limit=1000&lt;/A&gt;" &lt;STRONG&gt;(&amp;lt;&amp;lt;notice the 1000 here)&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks like the FMC changes the 2000 to 1000 and starts using an offset of 0.&lt;/P&gt;&lt;P&gt;I assume I can create a loop in python and get all the objects by&amp;nbsp;changing the offset value and making multiple GET requests, but is it the case the FMC will&amp;nbsp;only allow 1000 objects per GET request. Does anyone know if this is a hardcoded maximum?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2020 16:32:35 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/fmc-api-maximum-objects-1000/m-p/3758869#M993117</guid>
      <dc:creator>cyodesigns</dc:creator>
      <dc:date>2020-02-21T16:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: FMC API Maximum Objects - 1000?</title>
      <link>https://community.cisco.com/t5/network-security/fmc-api-maximum-objects-1000/m-p/3759470#M993138</link>
      <description>&lt;P&gt;1000 is the limit in Firepower 6.2.x.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.cisco.com/c/en/us/td/docs/security/firepower/622/api/REST/Firepower_Management_Center_REST_API_Quick_Start_Guide_622/objects_in_the_rest_api.html#reference_zmj_lny_1cb" target="_blank"&gt;https://www.cisco.com/c/en/us/td/docs/security/firepower/622/api/REST/Firepower_Management_Center_REST_API_Quick_Start_Guide_622/objects_in_the_rest_api.html#reference_zmj_lny_1cb&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;They haven't updated that guide for 6.3 yet - it may have changed as they have been working on increasing API functionality a lot.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Dec 2018 09:25:25 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/fmc-api-maximum-objects-1000/m-p/3759470#M993138</guid>
      <dc:creator>Marvin Rhoads</dc:creator>
      <dc:date>2018-12-07T09:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: FMC API Maximum Objects - 1000?</title>
      <link>https://community.cisco.com/t5/network-security/fmc-api-maximum-objects-1000/m-p/3759489#M993156</link>
      <description>&lt;P&gt;Thanks Marvin!!&lt;/P&gt;</description>
      <pubDate>Fri, 07 Dec 2018 10:06:00 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/fmc-api-maximum-objects-1000/m-p/3759489#M993156</guid>
      <dc:creator>cyodesigns</dc:creator>
      <dc:date>2018-12-07T10:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: FMC API Maximum Objects - 1000?</title>
      <link>https://community.cisco.com/t5/network-security/fmc-api-maximum-objects-1000/m-p/3893800#M993173</link>
      <description>&lt;P&gt;Looks like the limit is still there in 6.3.&amp;nbsp; Is there a workaround?&amp;nbsp; Is the pagination support in the API?&amp;nbsp; If so, how?&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2019 18:34:56 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/fmc-api-maximum-objects-1000/m-p/3893800#M993173</guid>
      <dc:creator>Greg Terkanian</dc:creator>
      <dc:date>2019-07-19T18:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: FMC API Maximum Objects - 1000?</title>
      <link>https://community.cisco.com/t5/network-security/fmc-api-maximum-objects-1000/m-p/3896526#M993193</link>
      <description>&lt;P&gt;Of course there is.&lt;/P&gt;&lt;P&gt;So an implementation in Perl 5 from me at &lt;A href="https://metacpan.org/release/Net-Cisco-FMC-v1/source/lib/Net/Cisco/FMC/v1.pm#L46" target="_blank"&gt;https://metacpan.org/release/Net-Cisco-FMC-v1/source/lib/Net/Cisco/FMC/v1.pm#L46&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2019 09:25:24 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/fmc-api-maximum-objects-1000/m-p/3896526#M993193</guid>
      <dc:creator>Alexander Hartmaier</dc:creator>
      <dc:date>2019-07-24T09:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: FMC API Maximum Objects - 1000?</title>
      <link>https://community.cisco.com/t5/network-security/fmc-api-maximum-objects-1000/m-p/4474907#M1084017</link>
      <description>&lt;P&gt;This document -&amp;gt; &lt;A href="https://www.cisco.com/c/en/us/td/docs/security/firepower/ftd-api/guide/ftd-rest-api.pdf" target="_blank"&gt;https://www.cisco.com/c/en/us/td/docs/security/firepower/ftd-api/guide/ftd-rest-api.pdf&lt;/A&gt; up to 7.0 2021 stills says the limit is 1000 on the bottom of p. 29.&amp;nbsp; Multiple queries is still the answer.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Sep 2021 18:22:34 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/fmc-api-maximum-objects-1000/m-p/4474907#M1084017</guid>
      <dc:creator>tyoung008</dc:creator>
      <dc:date>2021-09-27T18:22:34Z</dc:date>
    </item>
  </channel>
</rss>

