<?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: Checkpoint Gateway Inventory (VPN List) - automation in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Checkpoint-Gateway-Inventory-VPN-List-automation/m-p/231063#M8818</link>
    <description>&lt;P&gt;Maybe you could use the API that &lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/7"&gt;@PhoneBoy&lt;/a&gt;&amp;nbsp;suggested, and pass one of the VPN shell commands listed in&amp;nbsp;&lt;A href="https://community.checkpoint.com/t5/Security-Gateways/VPN-Troubleshooting-Commands/m-p/39636#M13069" target="_blank"&gt;https://community.checkpoint.com/t5/Security-Gateways/VPN-Troubleshooting-Commands/m-p/39636#M13069&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 28 Oct 2024 23:42:56 GMT</pubDate>
    <dc:creator>AaronCP</dc:creator>
    <dc:date>2024-10-28T23:42:56Z</dc:date>
    <item>
      <title>Checkpoint Gateway Inventory (VPN List) - automation</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Checkpoint-Gateway-Inventory-VPN-List-automation/m-p/231029#M8815</link>
      <description>&lt;DIV class=""&gt;&lt;SPAN&gt;What is the best way to get the inventory of the VPN on Checkpoint Gateway Device?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;I used the CLI commands VPN TU TLIST &amp;amp; VPN TU LIST IKE on the gateways to get the output on Terminal/SecureCRT. How can I use Python or Postman to get this information? Is there a API which I can leverage to get the information using Postman or Python?&lt;/P&gt;&lt;P&gt;Any suggestions is highly appreciated!&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 28 Oct 2024 18:45:29 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Checkpoint-Gateway-Inventory-VPN-List-automation/m-p/231029#M8815</guid>
      <dc:creator>320244</dc:creator>
      <dc:date>2024-10-28T18:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: Checkpoint Gateway Inventory (VPN List) - automation</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Checkpoint-Gateway-Inventory-VPN-List-automation/m-p/231058#M8816</link>
      <description>&lt;P&gt;You can call those same commands via REST API using run-script (either via the &lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/#cli/run-script~v2%20" target="_blank"&gt;Management API&lt;/A&gt; or the &lt;A href="https://sc1.checkpoint.com/documents/latest/GaiaAPIs/#web/run-script~v1.8%20" target="_blank"&gt;Gaia API&lt;/A&gt;).&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2024 22:08:55 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Checkpoint-Gateway-Inventory-VPN-List-automation/m-p/231058#M8816</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2024-10-28T22:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: Checkpoint Gateway Inventory (VPN List) - automation</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Checkpoint-Gateway-Inventory-VPN-List-automation/m-p/231060#M8817</link>
      <description>&lt;P&gt;Thank you, though I am not sure what needs to be done with the run script? the command which I want to execute is in the screen shot:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;(1) &lt;/SPAN&gt;&lt;SPAN&gt;List all IKE SAs &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;(2)&amp;nbsp;&lt;SPAN&gt;List all IPsec SAs&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;how can we execute this commands? also if not this, what commands what can we execute to get all the VPN's in the gateway device, just like eg. "show-routes", to see all the routes in gateway configured.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-10-28 at 4.22.22 PM.png" style="width: 400px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/28242i78553B1F7187A2D0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2024-10-28 at 4.22.22 PM.png" alt="Screenshot 2024-10-28 at 4.22.22 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; Thank you!!&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2024 22:27:38 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Checkpoint-Gateway-Inventory-VPN-List-automation/m-p/231060#M8817</guid>
      <dc:creator>320244</dc:creator>
      <dc:date>2024-10-28T22:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: Checkpoint Gateway Inventory (VPN List) - automation</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Checkpoint-Gateway-Inventory-VPN-List-automation/m-p/231063#M8818</link>
      <description>&lt;P&gt;Maybe you could use the API that &lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/7"&gt;@PhoneBoy&lt;/a&gt;&amp;nbsp;suggested, and pass one of the VPN shell commands listed in&amp;nbsp;&lt;A href="https://community.checkpoint.com/t5/Security-Gateways/VPN-Troubleshooting-Commands/m-p/39636#M13069" target="_blank"&gt;https://community.checkpoint.com/t5/Security-Gateways/VPN-Troubleshooting-Commands/m-p/39636#M13069&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2024 23:42:56 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Checkpoint-Gateway-Inventory-VPN-List-automation/m-p/231063#M8818</guid>
      <dc:creator>AaronCP</dc:creator>
      <dc:date>2024-10-28T23:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: Checkpoint Gateway Inventory (VPN List) - automation</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Checkpoint-Gateway-Inventory-VPN-List-automation/m-p/231163#M8821</link>
      <description>&lt;P&gt;run-script allows you to execute CLI commands (or a script) via REST API.&lt;BR /&gt;It's not meant for interactive use (which vpn tu clear is), where SSH + Paramiko might be a better option.&lt;BR /&gt;However, it appears the vpn shell commands will give you similar information and, thus, might be better suited for usage with run-script.&lt;/P&gt;
&lt;P&gt;As for something that doesn't involve a CLI command (i.e. a native REST API endpoint), one does not appear to exist for this purpose.&lt;BR /&gt;In R82, I know we export certain VPN information through OpenTelemetry, but not sure it's what you're looking for.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2024 16:54:51 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Checkpoint-Gateway-Inventory-VPN-List-automation/m-p/231163#M8821</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2024-10-29T16:54:51Z</dc:date>
    </item>
  </channel>
</rss>

