<?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: Query gateway version &amp;amp; take in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Query-gateway-version-amp-take/m-p/280262#M9447</link>
    <description>&lt;P&gt;The gateway version is likely a function of it being included in the gateway object itself.&lt;BR /&gt;For JHF level, that likely requires parsing the output of a command like:&amp;nbsp;cpinfo -y FW1 | grep Take&lt;BR /&gt;That could be accomplished via a run-script API call.&lt;BR /&gt;A good example of how to work with this is here:&amp;nbsp;&lt;A href="https://community.checkpoint.com/t5/Firewall-and-Security-Management/The-command-quot-show-ips-status-quot-in-the-Management-API/m-p/194564/highlight/true#M67297" target="_blank"&gt;https://community.checkpoint.com/t5/Firewall-and-Security-Management/The-command-quot-show-ips-status-quot-in-the-Management-API/m-p/194564/highlight/true#M67297&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 27 Jul 2026 22:52:07 GMT</pubDate>
    <dc:creator>PhoneBoy</dc:creator>
    <dc:date>2026-07-27T22:52:07Z</dc:date>
    <item>
      <title>Query gateway version &amp; take</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Query-gateway-version-amp-take/m-p/280077#M9445</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm currently building trying to extract gateway version &amp;amp; take via API in order to incorporate this into our reporting.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So far i have only been able to find the gateway version, e.g. R82.0 but not the take number to track the currnet take &amp;amp; available take to see if there is a pending jumbo hotfix.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this information actually available on any of the API endpoints?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2026 21:16:06 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Query-gateway-version-amp-take/m-p/280077#M9445</guid>
      <dc:creator>Jack132897</dc:creator>
      <dc:date>2026-07-22T21:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: Query gateway version &amp; take</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Query-gateway-version-amp-take/m-p/280262#M9447</link>
      <description>&lt;P&gt;The gateway version is likely a function of it being included in the gateway object itself.&lt;BR /&gt;For JHF level, that likely requires parsing the output of a command like:&amp;nbsp;cpinfo -y FW1 | grep Take&lt;BR /&gt;That could be accomplished via a run-script API call.&lt;BR /&gt;A good example of how to work with this is here:&amp;nbsp;&lt;A href="https://community.checkpoint.com/t5/Firewall-and-Security-Management/The-command-quot-show-ips-status-quot-in-the-Management-API/m-p/194564/highlight/true#M67297" target="_blank"&gt;https://community.checkpoint.com/t5/Firewall-and-Security-Management/The-command-quot-show-ips-status-quot-in-the-Management-API/m-p/194564/highlight/true#M67297&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jul 2026 22:52:07 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Query-gateway-version-amp-take/m-p/280262#M9447</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2026-07-27T22:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: Query gateway version &amp; take</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Query-gateway-version-amp-take/m-p/280334#M9451</link>
      <description>&lt;P&gt;Hey &lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/132897"&gt;@Jack132897&lt;/a&gt;&amp;nbsp;if you do &lt;SPAN&gt;mgmt_cli -r true show software-packages-per-targets targets.1 "GFG" display.installed "yes" --format json ; it will come back with any installed jumbo beyond the base take. Other wise you could use FWM Ver and FW Ver doing run script to pull the base version and you just have to reference back when that image was released. It's why the display.installed is nice cause it shows a particular take.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;But if you want a single command that formats it you could do;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;mgmt_cli -r true show software-packages-per-targets targets.1 "GFG" display.installed "yes" --format json | jq -r '.targets[].packages.installed[]["package-id"] | split("_") as $p | "R\($p[2] | ltrimstr("R")).\($p[3]) Take \(($p[] | select(startswith("T") and length &amp;gt; 1 and (.[1:2] &amp;gt;= "0" and .[1:2] &amp;lt;= "9")))[1:])"'&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;R82.10 Take 24&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;{&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;"targets" : [ {&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;"packages" : {&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;"installed" : [ {&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;"package-id" : "Check_Point_R82_10_jumbo_hf_main_Bundle_T24_FULL.tgz",&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;"category" : "jumbo"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;} ],&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;"available" : [ ]&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;},&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;"name" : "GFG",&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;"uid" : "3fc5f0c0-ca04-4df8-919b-3e572bf94cc7"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;} ]&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;}&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2026 21:49:54 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Query-gateway-version-amp-take/m-p/280334#M9451</guid>
      <dc:creator>Adam_Forester</dc:creator>
      <dc:date>2026-07-28T21:49:54Z</dc:date>
    </item>
  </channel>
</rss>

