<?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: Publish API query in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Publish-API-query/m-p/84279#M4823</link>
    <description>You use the install-policy API.&lt;BR /&gt;&lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/install-policy~v1.6" target="_blank"&gt;https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/install-policy~v1.6&lt;/A&gt;</description>
    <pubDate>Tue, 05 May 2020 21:34:53 GMT</pubDate>
    <dc:creator>PhoneBoy</dc:creator>
    <dc:date>2020-05-05T21:34:53Z</dc:date>
    <item>
      <title>Publish API query</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Publish-API-query/m-p/84187#M4815</link>
      <description>&lt;P&gt;Do I need to call publish API after every change in one session or I can publish changes all at once with final publish API call in one session?&lt;/P&gt;</description>
      <pubDate>Tue, 05 May 2020 11:47:57 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Publish-API-query/m-p/84187#M4815</guid>
      <dc:creator>appyens</dc:creator>
      <dc:date>2020-05-05T11:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: Publish API query</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Publish-API-query/m-p/84196#M4816</link>
      <description>&lt;P&gt;It is enough to publish before logging off, or every time you need those changes to be available for other admins.&lt;/P&gt;</description>
      <pubDate>Tue, 05 May 2020 13:10:17 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Publish-API-query/m-p/84196#M4816</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2020-05-05T13:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: Publish API query</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Publish-API-query/m-p/84197#M4817</link>
      <description>&lt;P&gt;In general, always follow the flow:&lt;BR /&gt;&lt;BR /&gt;1. login and capture sid&lt;/P&gt;
&lt;P&gt;2. perform changes&lt;/P&gt;
&lt;P&gt;3. verify performed changes&lt;/P&gt;
&lt;P&gt;4. publish or discard, depending of the results in p.3&lt;/P&gt;
&lt;P&gt;5. log off&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 May 2020 13:11:54 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Publish-API-query/m-p/84197#M4817</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2020-05-05T13:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: Publish API query</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Publish-API-query/m-p/84205#M4818</link>
      <description>If you're doing a small number of changes, then publishing after you do the API calls to make them is fine.&lt;BR /&gt;If you're doing a large number of changes (several hundred), it's best to publish after every few hundred calls for performance reasons.&lt;BR /&gt;&lt;BR /&gt;Note that publish does NOT push changes to the relevant security gateways for enforcement.&lt;BR /&gt;That is done with a separate policy installation action.</description>
      <pubDate>Tue, 05 May 2020 13:45:01 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Publish-API-query/m-p/84205#M4818</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2020-05-05T13:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: Publish API query</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Publish-API-query/m-p/84268#M4822</link>
      <description>Thanks for the replay. How can I push changes to security gateways for enforcement with API. please explain</description>
      <pubDate>Tue, 05 May 2020 20:42:57 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Publish-API-query/m-p/84268#M4822</guid>
      <dc:creator>appyens</dc:creator>
      <dc:date>2020-05-05T20:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: Publish API query</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Publish-API-query/m-p/84279#M4823</link>
      <description>You use the install-policy API.&lt;BR /&gt;&lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/install-policy~v1.6" target="_blank"&gt;https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/install-policy~v1.6&lt;/A&gt;</description>
      <pubDate>Tue, 05 May 2020 21:34:53 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Publish-API-query/m-p/84279#M4823</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2020-05-05T21:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: Publish API query</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Publish-API-query/m-p/84280#M4824</link>
      <description>I have checked it. the policy-package and target are required fields. what is policy package name and where can I find it, is there any API command for it? target is the name of gateway right?</description>
      <pubDate>Tue, 05 May 2020 22:07:29 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Publish-API-query/m-p/84280#M4824</guid>
      <dc:creator>appyens</dc:creator>
      <dc:date>2020-05-05T22:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: Publish API query</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Publish-API-query/m-p/84283#M4825</link>
      <description>Target is the name of the gateway, yes.&lt;BR /&gt;&lt;BR /&gt;The layer itself won't tell you what policy package its used in as it can exist as part of multiple policy packages. &lt;BR /&gt;If you were to do it programmatically, you would have to list all policy packages (show-packages) and listing each package (show-package) to determine what layers are used within them.&lt;BR /&gt;The other option is to know via some other method which policy package(s) you're pushing beforehand.&lt;BR /&gt;&lt;BR /&gt;In any case, only one install-policy action can be active at one time, so if you're updating multiple policies programmatically, you'd have to push one policy, wait until it finishes, then push the next policy, etc.</description>
      <pubDate>Tue, 05 May 2020 22:47:24 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Publish-API-query/m-p/84283#M4825</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2020-05-05T22:47:24Z</dc:date>
    </item>
  </channel>
</rss>

