<?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: add rule to policy via mgmt_Cli fails in General Topics</title>
    <link>https://community.checkpoint.com/t5/General-Topics/add-rule-to-policy-via-mgmt-Cli-fails/m-p/255129#M42880</link>
    <description>&lt;P&gt;Edit: I think the problem is, that we have more than one Policy on the management Server, how can I choose, on which Policy the rule should be added?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 14 Aug 2025 08:03:18 GMT</pubDate>
    <dc:creator>Roadrunner88</dc:creator>
    <dc:date>2025-08-14T08:03:18Z</dc:date>
    <item>
      <title>add rule to policy via mgmt_Cli fails</title>
      <link>https://community.checkpoint.com/t5/General-Topics/add-rule-to-policy-via-mgmt-Cli-fails/m-p/255116#M42873</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;by creating a rule via the mgmt_cli API, I am getting the follwoing error, which I cant solve:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;com.checkpoint.management.policy_package.objects.policy_package.PolicyPackage incompatible with com.checkpoint.objects.rulebase.OrderedRulebase&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I want to add a rule to an existing policy with this example command for testing:&lt;BR /&gt;&lt;BR /&gt;mgmt_cli add access-rule layer "e6ba927f-xxx-xxx-xxxUID" position.bottom "My Access Section" name "Last rule in the section"&lt;BR /&gt;&lt;BR /&gt;I get the return message above.&lt;/P&gt;&lt;P&gt;How can I solve this ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Edit:&lt;BR /&gt;&lt;BR /&gt;Management Server is R81.20 Take 631&lt;/P&gt;</description>
      <pubDate>Thu, 14 Aug 2025 05:46:34 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/add-rule-to-policy-via-mgmt-Cli-fails/m-p/255116#M42873</guid>
      <dc:creator>Roadrunner88</dc:creator>
      <dc:date>2025-08-14T05:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: add rule to policy via mgmt_Cli fails</title>
      <link>https://community.checkpoint.com/t5/General-Topics/add-rule-to-policy-via-mgmt-Cli-fails/m-p/255122#M42875</link>
      <description>&lt;P&gt;I would open a ticket with Check Point TAC.&lt;/P&gt;
&lt;P&gt;It seems a layer (or policy) might have been deleted and the session may not have been published. Could you check if you have any unsaved changes or other open sessions (Manage &amp;amp; Settings &amp;gt; Sessions &amp;gt; View Sessions)?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Aug 2025 07:09:26 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/add-rule-to-policy-via-mgmt-Cli-fails/m-p/255122#M42875</guid>
      <dc:creator>Tal_Paz-Fridman</dc:creator>
      <dc:date>2025-08-14T07:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: add rule to policy via mgmt_Cli fails</title>
      <link>https://community.checkpoint.com/t5/General-Topics/add-rule-to-policy-via-mgmt-Cli-fails/m-p/255127#M42878</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;indeed I had open "Old" sessions, which had non published changes (added network objects)&amp;nbsp; and were disconnected&amp;nbsp;&lt;BR /&gt;ive discarded these but it didnt solve the problem.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Aug 2025 07:37:57 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/add-rule-to-policy-via-mgmt-Cli-fails/m-p/255127#M42878</guid>
      <dc:creator>Roadrunner88</dc:creator>
      <dc:date>2025-08-14T07:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: add rule to policy via mgmt_Cli fails</title>
      <link>https://community.checkpoint.com/t5/General-Topics/add-rule-to-policy-via-mgmt-Cli-fails/m-p/255129#M42880</link>
      <description>&lt;P&gt;Edit: I think the problem is, that we have more than one Policy on the management Server, how can I choose, on which Policy the rule should be added?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Aug 2025 08:03:18 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/add-rule-to-policy-via-mgmt-Cli-fails/m-p/255129#M42880</guid>
      <dc:creator>Roadrunner88</dc:creator>
      <dc:date>2025-08-14T08:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: add rule to policy via mgmt_Cli fails</title>
      <link>https://community.checkpoint.com/t5/General-Topics/add-rule-to-policy-via-mgmt-Cli-fails/m-p/255130#M42881</link>
      <description>&lt;P&gt;the thread&amp;nbsp; can be closed.&lt;BR /&gt;&lt;BR /&gt;it was a misunderstanding from my side:&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;mgmt_cli add access-rule layer "" position.bottom&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;in the layer part, i didnt add the policy name like: layer "test Network"&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;so thanks for help anyway&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Aug 2025 08:35:20 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/add-rule-to-policy-via-mgmt-Cli-fails/m-p/255130#M42881</guid>
      <dc:creator>Roadrunner88</dc:creator>
      <dc:date>2025-08-14T08:35:20Z</dc:date>
    </item>
  </channel>
</rss>

