<?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: How to list contract expiration dates of gateways from cma using cli or API? in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-list-contract-expiration-dates-of-gateways-from-cma-using/m-p/177144#M7594</link>
    <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;I mean support contract date.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 03 Apr 2023 13:59:21 GMT</pubDate>
    <dc:creator>Arskazv</dc:creator>
    <dc:date>2023-04-03T13:59:21Z</dc:date>
    <item>
      <title>How to list contract expiration dates of gateways from cma using cli or API?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-list-contract-expiration-dates-of-gateways-from-cma-using/m-p/176840#M7586</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;We have more than 100 CP firewalls installed. We have a challenge to remember to renew/order new support contract to them(all firewalls are not under single CP account and the have different expiration dates).&lt;/P&gt;&lt;P&gt;Last year I wrote a simple "dirty" bash script, that scans every CMA, grepping contract information from output of cplic print -D.&lt;/P&gt;&lt;P&gt;It has worked quite well, until this week I found, that my script is not aware expiration of CP some appliances.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cplic print -D doesn't print that information from all appliances?&lt;/P&gt;&lt;P&gt;However, for some appliances support expiration information is available from GUI (Gateways&amp;amp;Servers -&amp;gt; Columns Licenses) but not via cplic command...&lt;/P&gt;&lt;P&gt;So, is that information seen in GUI available to some CLI command or API? I have been looking answer couple of days now without success.&lt;/P&gt;&lt;P&gt;And would also be grateful, If someone knows if we can get that information for Embedded gaia too(via cma).&lt;/P&gt;&lt;P&gt;An alternative would be API to query that information directly from Usercenter (we use that method with another vendor)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR, A&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Mar 2023 06:58:43 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-list-contract-expiration-dates-of-gateways-from-cma-using/m-p/176840#M7586</guid>
      <dc:creator>Arskazv</dc:creator>
      <dc:date>2023-03-31T06:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to list contract expiration dates of gateways from cma using cli or API?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-list-contract-expiration-dates-of-gateways-from-cma-using/m-p/176956#M7590</link>
      <description>&lt;P&gt;Is it a support contract date or a license date?&lt;/P&gt;
&lt;P&gt;I imagine the real contract data is in UserCenter and, to the best of my knowledge, we do not have a public API at this time.&lt;BR /&gt;Having said that, I know we've had some requests for it.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 01 Apr 2023 00:00:35 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-list-contract-expiration-dates-of-gateways-from-cma-using/m-p/176956#M7590</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2023-04-01T00:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to list contract expiration dates of gateways from cma using cli or API?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-list-contract-expiration-dates-of-gateways-from-cma-using/m-p/177144#M7594</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;I mean support contract date.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2023 13:59:21 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-list-contract-expiration-dates-of-gateways-from-cma-using/m-p/177144#M7594</guid>
      <dc:creator>Arskazv</dc:creator>
      <dc:date>2023-04-03T13:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to list contract expiration dates of gateways from cma using cli or API?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-list-contract-expiration-dates-of-gateways-from-cma-using/m-p/177184#M7596</link>
      <description>&lt;P&gt;To the best of my knowledge, cplic print will only print information it has locally.&lt;BR /&gt;You can see if the device in question has a $CPDIR/conf/cp.contract file.&lt;BR /&gt;You can use contract_util update what the device has (either from UC or from a local file).&lt;/P&gt;
&lt;P&gt;If you have up-to-date information on the device and it's still not showing, I &lt;A href="https://help.checkpoint.com" target="_self"&gt;recommend a TAC case&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2023 23:23:08 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-list-contract-expiration-dates-of-gateways-from-cma-using/m-p/177184#M7596</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2023-04-03T23:23:08Z</dc:date>
    </item>
  </channel>
</rss>

