<?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: R80 automation - VS logging settings through CLI/API in Firewall and Security Management</title>
    <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/R80-automation-VS-logging-settings-through-CLI-API/m-p/20403#M93153</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;He seeks ANY CLI or API. Not only MGMT API, where indeed you cannot manipulate cluster and/or VSX objects&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Aug 2018 13:59:04 GMT</pubDate>
    <dc:creator>_Val_</dc:creator>
    <dc:date>2018-08-20T13:59:04Z</dc:date>
    <item>
      <title>R80 automation - VS logging settings through CLI/API</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/R80-automation-VS-logging-settings-through-CLI-API/m-p/20400#M93150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As part of an R80 automation process creating VS-es using the API/CLI, we would like to set Logging parameters like log rotation at midnight +&amp;nbsp;where to send logs (to mgmt or clm) etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone of you know where and how these parameters are set internally on R80? Unable to find any documentation covering these steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would be very&amp;nbsp;grateful for any pointers! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&amp;nbsp;of a&amp;nbsp;GUI setting we would like to automate through API/CLI:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Edit VS to access this window" class="image-1 jive-image j-img-original" src="/legacyfs/online/checkpoint/69300_Screen Shot 2018-08-20 at 13.19.20.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fredrik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2018 13:35:08 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/R80-automation-VS-logging-settings-through-CLI-API/m-p/20400#M93150</guid>
      <dc:creator>Fredrik_Holmber</dc:creator>
      <dc:date>2018-08-20T13:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: R80 automation - VS logging settings through CLI/API</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/R80-automation-VS-logging-settings-through-CLI-API/m-p/20401#M93151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As far as I know, you cannot use R80.X MGMT API to manage VSX at all. You need&amp;nbsp;&lt;A class="link-titled" href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk100645&amp;amp;partition=General&amp;amp;product=VSX%22" title="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk100645&amp;amp;partition=General&amp;amp;product=VSX%22"&gt;VSX Provisioning Tool&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, it is a simple scripting tool and does not have a setting you are looking for, due to my knowledge.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a slight chance I might be wrong, so I let &lt;A href="https://community.checkpoint.com/migrated-users/6703"&gt;Tomer Sole&lt;/A&gt;‌ to correct me, if anything.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2018 13:53:19 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/R80-automation-VS-logging-settings-through-CLI-API/m-p/20401#M93151</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2018-08-20T13:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: R80 automation - VS logging settings through CLI/API</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/R80-automation-VS-logging-settings-through-CLI-API/m-p/20402#M93152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From memory only simple gateways are supported. No cluster no vsx..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2018 13:53:30 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/R80-automation-VS-logging-settings-through-CLI-API/m-p/20402#M93152</guid>
      <dc:creator>Kaspars_Zibarts</dc:creator>
      <dc:date>2018-08-20T13:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: R80 automation - VS logging settings through CLI/API</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/R80-automation-VS-logging-settings-through-CLI-API/m-p/20403#M93153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;He seeks ANY CLI or API. Not only MGMT API, where indeed you cannot manipulate cluster and/or VSX objects&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2018 13:59:04 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/R80-automation-VS-logging-settings-through-CLI-API/m-p/20403#M93153</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2018-08-20T13:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: R80 automation - VS logging settings through CLI/API</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/R80-automation-VS-logging-settings-through-CLI-API/m-p/20404#M93154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the&amp;nbsp;input!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.checkpoint.com/migrated-users/2138"&gt;Valeri Loukine&lt;/A&gt;‌ and &lt;A href="https://community.checkpoint.com/migrated-users/47831"&gt;Kaspars Zibarts&lt;/A&gt; yes currently automating the VS creation using the VSX Provisioning Tool, since it's not supported through the API as you correctly stated (feature request!).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I simply want to&amp;nbsp;modify the&amp;nbsp;logging parameters either through the CLI or API. Automating through the GUI is not an option.. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a hidden Checkpoint CLI command to do this, or do I need to edit a config file or a postgres/sqlite DB field somewhere?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the other logging parameter I need to modify:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="setting log destinations" class="image-1 jive-image j-img-original" src="/legacyfs/online/checkpoint/69678_Screen Shot 2018-08-21 at 10.19.43.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2018 08:36:31 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/R80-automation-VS-logging-settings-through-CLI-API/m-p/20404#M93154</guid>
      <dc:creator>Fredrik_Holmber</dc:creator>
      <dc:date>2018-08-21T08:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: R80 automation - VS logging settings through CLI/API</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/R80-automation-VS-logging-settings-through-CLI-API/m-p/20405#M93155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, no CLI command for this yet, hidden or otherwise. And please please do not touch DB directly, especially for VSX&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2018 10:39:45 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/R80-automation-VS-logging-settings-through-CLI-API/m-p/20405#M93155</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2018-08-21T10:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: R80 automation - VS logging settings through CLI/API</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/R80-automation-VS-logging-settings-through-CLI-API/m-p/20406#M93156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Come on, there has to be a way, hack or not&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just like how API access is controlled through "/web/conf/extra/httpd2-webapi.conf". You enable access by modifying that file and restarting httpd using&amp;nbsp;tellpm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where are&amp;nbsp;the logging configuration settings for VS-es stored? In the Postgres DB?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To me it looks like any changes related to VSX, done in SmartConsole, are handled in "parallel" with the normal Session/Publish logic. The task is not listed in the "Recent Tasks" list either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As soon as I do a change and press OK it executes the "VSX Operation Progress" window, followed by an "Operation Report" showing what could be script output:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="/legacyfs/online/checkpoint/69687_Screen Shot 2018-08-21 at 13.22.08.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-2 jive-image j-img-original" src="/legacyfs/online/checkpoint/69688_Screen Shot 2018-08-21 at 15.29.46.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What exactly is getting executed during that "VSX Operation"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;- Fredrik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2018 13:42:02 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/R80-automation-VS-logging-settings-through-CLI-API/m-p/20406#M93156</guid>
      <dc:creator>Fredrik_Holmber</dc:creator>
      <dc:date>2018-08-21T13:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: R80 automation - VS logging settings through CLI/API</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/R80-automation-VS-logging-settings-through-CLI-API/m-p/20407#M93157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are correct that VSX objects are handled differently than non-VSX ones.&lt;/P&gt;&lt;P&gt;Unfortunately, we have never exposed an API (either legacy CPMI or a REST one) for handling VSX objects.&lt;/P&gt;&lt;P&gt;The VSX Provisioning Tool (a CLI command) is one way to automate things.&lt;/P&gt;&lt;P&gt;You can call this through the R80.x API using run-script, but it's not a perfect tool, and may be missing functionality.&lt;/P&gt;&lt;P&gt;I presume we will address these deficiencies in later releases.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2018 14:15:27 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/R80-automation-VS-logging-settings-through-CLI-API/m-p/20407#M93157</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2018-08-21T14:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: R80 automation - VS logging settings through CLI/API</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/R80-automation-VS-logging-settings-through-CLI-API/m-p/20408#M93158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a very a solid reason why VSX is not yet part of MGMT API and needs a provisioning tool. Unlike other gateway objects in MGMT DB, VSX is actually a mosaic of so-called vs slots. Each VS slot is a linked object with just one part of VS structure, with references to VS and VSX cluster member. For example, VS interlace and its settings, including IP address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When VSX cluster is being deployed or manipulated, MGMT runs a background script which collects all vs slots, lists changes and pushes a provisioning script to physical GWs to be executed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VSX object manipulations will come on the later stages of MGMT API development.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2018 08:41:12 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/R80-automation-VS-logging-settings-through-CLI-API/m-p/20408#M93158</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2018-08-22T08:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: R80 automation - VS logging settings through CLI/API</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/R80-automation-VS-logging-settings-through-CLI-API/m-p/20409#M93159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Never take no for an answer! &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your commands and mileage may&amp;nbsp;vary, but this is&amp;nbsp;in essence what&amp;nbsp;you&amp;nbsp;need to&amp;nbsp;execute&amp;nbsp;with&amp;nbsp;&lt;STRONG&gt;dbedit&lt;/STRONG&gt; using&amp;nbsp;the &lt;STRONG&gt;run-script&lt;/STRONG&gt;&amp;nbsp;API call:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;addelement network_objects VS_NAME log_servers:backup_log_servers network_objects:MGMT_SRV&lt;BR /&gt;addelement network_objects VS_NAME log_servers:send_logs_to network_objects:LOG_SRV&lt;BR /&gt;addelement network_objects VS_NAME log_servers:send_alerts_to network_objects:LOG_SRV&lt;BR /&gt;modify network_objects VS_NAME log_policy:log_switch_schedule times:Midnight&lt;BR /&gt;modify network_objects VS_NAME log_policy:scheduled_switch true&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Log settings, fully automated &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice weekend!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;- Fredrik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2018 12:47:16 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/R80-automation-VS-logging-settings-through-CLI-API/m-p/20409#M93159</guid>
      <dc:creator>Fredrik_Holmber</dc:creator>
      <dc:date>2018-09-07T12:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: R80 automation - VS logging settings through CLI/API</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/R80-automation-VS-logging-settings-through-CLI-API/m-p/20410#M93160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nicely done!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2018 17:01:28 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/R80-automation-VS-logging-settings-through-CLI-API/m-p/20410#M93160</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2018-09-07T17:01:28Z</dc:date>
    </item>
  </channel>
</rss>

