<?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: Get VS information in VSX in API in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Get-VS-information-in-VSX-in-API/m-p/192324#M8042</link>
    <description>&lt;P&gt;Thank you for the replies Bob. It's rare to get such good feedback so quickly!&lt;/P&gt;&lt;P&gt;I did try your suggestion (with WebAPI), it gives limited information (redacted):&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"uid": "12b4fd08-3179-674c-8528-76243a000000",&lt;BR /&gt;"name": "ProdFirewall1",&lt;BR /&gt;"type": "CpmiVsClusterNetobj",&lt;BR /&gt;"domain": {&lt;BR /&gt;"uid": "535ddc43-2317-4edb-a6dd-eb5891000000",&lt;BR /&gt;"name": "Prod",&lt;BR /&gt;"domain-type": "domain"&lt;BR /&gt;},&lt;BR /&gt;"icon": "NetworkObjects/vsx/vs_clust",&lt;BR /&gt;"color": "black"&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;My request is for a response from Check Point if after 7 years the fix is finally in the works.&lt;/P&gt;&lt;P&gt;My&amp;nbsp;&lt;SPAN&gt;real world example (see above): Add a backup log server to all my firewalls. This is easily done for classic firewalls&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;and Maestro SG's. I have a lot of VSX hosts these days (going to be adding 50+ more soon), and is a missing feature I would love to have.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 11 Sep 2023 21:09:42 GMT</pubDate>
    <dc:creator>SecNetEng</dc:creator>
    <dc:date>2023-09-11T21:09:42Z</dc:date>
    <item>
      <title>Get VS information in VSX in API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Get-VS-information-in-VSX-in-API/m-p/192301#M8035</link>
      <description>&lt;P&gt;I am using the v1.9 management API (&lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#web/get-platform~v1.9%20" target="_blank"&gt;Check Point - Management API reference&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;show-simple-gateways shows Maestro SGs and interoperable Check Point devices&lt;/P&gt;&lt;P&gt;show-simple-clusters shows traditional hardware clusters&lt;/P&gt;&lt;P&gt;I don't have any LSM systems, but I tried anyways (show-lsm-gateways and show-lsm-clusters)&lt;/P&gt;&lt;P&gt;No VSX systems are showed, traditional or on Maestro.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This was last discussed in 2016.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-get-VS-information-on-VSX-via-API/m-p/2337" target="_blank"&gt;Solved: How to get VS information on VSX via API ? - Check Point CheckMates&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Now that we are on R81.20, is there an undocumented feature to get this information?&lt;/P&gt;&lt;P&gt;If not, can we Pretty Please get a Jira for this missing feature? I really hurts the ability to script. Real world example: Add a backup log server to all my firewalls.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2023 19:26:52 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Get-VS-information-in-VSX-in-API/m-p/192301#M8035</guid>
      <dc:creator>SecNetEng</dc:creator>
      <dc:date>2023-09-11T19:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: Get VS information in VSX in API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Get-VS-information-in-VSX-in-API/m-p/192305#M8036</link>
      <description>&lt;P&gt;VSs show up in show-gateways-and-servers. Here's redacted output from one of my production managements:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[Expert@MySmartCenter]# mgmt_cli -f json -r true show gateways-and-servers limit 500 | jq -c '.objects[]|[.name,.type]'
["vs_a_a","CpmiVsClusterNetobj"]
["vs_a_b","CpmiVsClusterNetobj"]
["vs_a_c","CpmiVsClusterNetobj"]
["vs_a_d","CpmiVsClusterNetobj"]
["vs_a_e","CpmiVsClusterNetobj"]
["vs_a_f","CpmiVsClusterNetobj"]
["vs_a_g","CpmiVsClusterNetobj"]
["vs_a_h","CpmiVsClusterNetobj"]
["sw_a_a","CpmiVsClusterNetobj"]
["vs_a_i","CpmiVsClusterNetobj"]
["sw_a_b","CpmiVsClusterNetobj"]
["MySmartCenter","checkpoint-host"]
["vsxClusterA","CpmiVsxClusterNetobj"]
["vsxClusterAMember1","CpmiVsxClusterMember"]
["vsxClusterAMember2","CpmiVsxClusterMember"]
["sw_b_a","CpmiVsClusterNetobj"]
["vs_b_a","CpmiVsClusterNetobj"]
["vs_b_b","CpmiVsClusterNetobj"]
["vs_b_c","CpmiVsClusterNetobj"]
["vs_b_d","CpmiVsClusterNetobj"]
["vs_b_e","CpmiVsClusterNetobj"]
["vs_b_f","CpmiVsClusterNetobj"]
["vs_b_g","CpmiVsClusterNetobj"]
["MyLogServer","checkpoint-host"]
["vsxClusterB","CpmiVsxClusterNetobj"]
["vsxClusterBMember1","CpmiVsxClusterMember"]
["vsxClusterBMember2","CpmiVsxClusterMember"]&lt;/LI-CODE&gt;
&lt;P&gt;VSX cluster members (useful for things like version checks, syslog config, etc.) are type&amp;nbsp;CpmiVsxClusterMember.&lt;/P&gt;
&lt;P&gt;VSX clusters are type&amp;nbsp;CpmiVsxClusterNetobj.&lt;/P&gt;
&lt;P&gt;On a cluster, VSs themselves are type&amp;nbsp;CpmiVsClusterNetobj (they are technically clusters, though you generally don't have to manage the members). I don't have any non-clustered VSX firewalls, so I don't know what object type a non-clustered VS would have. Maybe CpmiVsNetobj?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2023 19:44:37 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Get-VS-information-in-VSX-in-API/m-p/192305#M8036</guid>
      <dc:creator>Bob_Zimmerman</dc:creator>
      <dc:date>2023-09-11T19:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: Get VS information in VSX in API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Get-VS-information-in-VSX-in-API/m-p/192306#M8037</link>
      <description>&lt;P&gt;Thank you for mentioning&amp;nbsp; show gateways-and-servers. However, this does not address the need to work with values and modify the properties.&lt;/P&gt;&lt;P&gt;I will try out your suggestion to see if I can at least see the existing backup log servers for my VSs.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2023 19:51:45 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Get-VS-information-in-VSX-in-API/m-p/192306#M8037</guid>
      <dc:creator>SecNetEng</dc:creator>
      <dc:date>2023-09-11T19:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: Get VS information in VSX in API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Get-VS-information-in-VSX-in-API/m-p/192308#M8039</link>
      <description>&lt;P&gt;You only mentioned getting the information.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Once you have the objects' UUIDs, you&amp;nbsp;&lt;EM&gt;could&lt;/EM&gt; use the set-generic-object call, but it's not officially supported or stable in the API sense (output or expected input could change with no notice). Other than that, the API has very little support for VSX, correct. I mostly use the information I shared to do things which involve the physical VSX cluster members. For example, I have a &lt;A href="https://community.checkpoint.com/t5/API-CLI-Discussion/Finding-differences-between-cluster-members/m-p/177594" target="_self"&gt;periodic script running on my management&lt;/A&gt; which iterates through all the VSs, dumps their configs, copies all of the configs up to the management, runs a 'diff' on them, then sends me the results. This way, I know if somebody added some dynamic routing config on one member but forgot to put it on the other member. Keeps my failovers predictable.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2023 20:08:55 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Get-VS-information-in-VSX-in-API/m-p/192308#M8039</guid>
      <dc:creator>Bob_Zimmerman</dc:creator>
      <dc:date>2023-09-11T20:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: Get VS information in VSX in API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Get-VS-information-in-VSX-in-API/m-p/192324#M8042</link>
      <description>&lt;P&gt;Thank you for the replies Bob. It's rare to get such good feedback so quickly!&lt;/P&gt;&lt;P&gt;I did try your suggestion (with WebAPI), it gives limited information (redacted):&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"uid": "12b4fd08-3179-674c-8528-76243a000000",&lt;BR /&gt;"name": "ProdFirewall1",&lt;BR /&gt;"type": "CpmiVsClusterNetobj",&lt;BR /&gt;"domain": {&lt;BR /&gt;"uid": "535ddc43-2317-4edb-a6dd-eb5891000000",&lt;BR /&gt;"name": "Prod",&lt;BR /&gt;"domain-type": "domain"&lt;BR /&gt;},&lt;BR /&gt;"icon": "NetworkObjects/vsx/vs_clust",&lt;BR /&gt;"color": "black"&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;My request is for a response from Check Point if after 7 years the fix is finally in the works.&lt;/P&gt;&lt;P&gt;My&amp;nbsp;&lt;SPAN&gt;real world example (see above): Add a backup log server to all my firewalls. This is easily done for classic firewalls&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;and Maestro SG's. I have a lot of VSX hosts these days (going to be adding 50+ more soon), and is a missing feature I would love to have.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2023 21:09:42 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Get-VS-information-in-VSX-in-API/m-p/192324#M8042</guid>
      <dc:creator>SecNetEng</dc:creator>
      <dc:date>2023-09-11T21:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: Get VS information in VSX in API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Get-VS-information-in-VSX-in-API/m-p/192344#M8044</link>
      <description>&lt;P&gt;Official APIs for VSX are planned as part of R82.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2023 22:59:07 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Get-VS-information-in-VSX-in-API/m-p/192344#M8044</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2023-09-11T22:59:07Z</dc:date>
    </item>
  </channel>
</rss>

