<?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: Moving hosts between groups in Firewall and Security Management</title>
    <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Moving-hosts-between-groups/m-p/232661#M63817</link>
    <description>&lt;P&gt;Sounds reasonable, will try this as well.&lt;/P&gt;</description>
    <pubDate>Wed, 13 Nov 2024 20:04:43 GMT</pubDate>
    <dc:creator>the_rock</dc:creator>
    <dc:date>2024-11-13T20:04:43Z</dc:date>
    <item>
      <title>Moving hosts between groups</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Moving-hosts-between-groups/m-p/232645#M63809</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;Do you know if there is any way to quickly move 1600 hosts from Group A to Group B?&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;LI-PRODUCT title="Management" id="Management"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;LI-PRODUCT title="Quantum Force (Security Gateways)" id="quantum-security-gateways"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 18:41:13 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Moving-hosts-between-groups/m-p/232645#M63809</guid>
      <dc:creator>jfmoral</dc:creator>
      <dc:date>2024-11-13T18:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: Moving hosts between groups</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Moving-hosts-between-groups/m-p/232649#M63810</link>
      <description>&lt;P&gt;Let me do quick test in the lab for this with few hosts and see what happens.&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 18:54:07 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Moving-hosts-between-groups/m-p/232649#M63810</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2024-11-13T18:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: Moving hosts between groups</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Moving-hosts-between-groups/m-p/232650#M63811</link>
      <description>&lt;P&gt;Ok, forgive me if this shall sound really stupid or silly, but one easy way would be to right click existing group, clone it, which will create exact same group with name _clone on top of it, then you can delete "old" group.&lt;/P&gt;
&lt;P&gt;If that poses an issue, Im sure it can be done via API, so let me know and I can try it in the lab.&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 19:03:57 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Moving-hosts-between-groups/m-p/232650#M63811</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2024-11-13T19:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: Moving hosts between groups</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Moving-hosts-between-groups/m-p/232653#M63812</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe I explained it in the wrong form. Group A and Group B have many Objects and I want to merge them into a single group. But I don't want to select one by one.&lt;/P&gt;&lt;P&gt;I'm going to look at the API.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 19:14:17 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Moving-hosts-between-groups/m-p/232653#M63812</guid>
      <dc:creator>jfmoral</dc:creator>
      <dc:date>2024-11-13T19:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: Moving hosts between groups</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Moving-hosts-between-groups/m-p/232654#M63813</link>
      <description>&lt;P&gt;Kk, now I got it, no worries. Let me do some testing and see how far I get. Will update you.&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 19:16:17 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Moving-hosts-between-groups/m-p/232654#M63813</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2024-11-13T19:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: Moving hosts between groups</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Moving-hosts-between-groups/m-p/232655#M63814</link>
      <description>&lt;P&gt;I recall cp_merge back in the day, but that tool was deprecated while back. I will still keep trying to make this work in the lab. In the meantime, lets see if anyone else may know.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 19:27:50 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Moving-hosts-between-groups/m-p/232655#M63814</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2024-11-13T19:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: Moving hosts between groups</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Moving-hosts-between-groups/m-p/232656#M63815</link>
      <description>&lt;P&gt;Thank you. I am conducting tests as well.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 19:38:02 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Moving-hosts-between-groups/m-p/232656#M63815</guid>
      <dc:creator>jfmoral</dc:creator>
      <dc:date>2024-11-13T19:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: Moving hosts between groups</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Moving-hosts-between-groups/m-p/232658#M63816</link>
      <description>&lt;P&gt;So you want all members of group B to be added to group A, and you want all places where group B is used to use group A instead?&lt;/P&gt;
&lt;P&gt;Dump group B with '/show-object'. The output will have all members of the group.&lt;/P&gt;
&lt;P&gt;Get the first ~100 members and call '/set-group' for group A with members.add[] in the body and the selected members. Adding a member which is already in the group does nothing, so this will add all the members of B which aren't already in A to A.&lt;/P&gt;
&lt;P&gt;Repeat for the next ~100 members until you're done.&lt;/P&gt;
&lt;P&gt;In SmartConsole, run a Where Used on group B, hit the Replace button in the window, pick group A, and select the places where you want to replace it. If there's anywhere which can't be automatically replaced, you'll have to handle it manually.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 19:42:31 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Moving-hosts-between-groups/m-p/232658#M63816</guid>
      <dc:creator>Bob_Zimmerman</dc:creator>
      <dc:date>2024-11-13T19:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: Moving hosts between groups</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Moving-hosts-between-groups/m-p/232661#M63817</link>
      <description>&lt;P&gt;Sounds reasonable, will try this as well.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 20:04:43 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Moving-hosts-between-groups/m-p/232661#M63817</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2024-11-13T20:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: Moving hosts between groups</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Moving-hosts-between-groups/m-p/232695#M63818</link>
      <description>&lt;P&gt;You can use MGMT API for this:&lt;/P&gt;
&lt;P&gt;Show group:&amp;nbsp;&lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/show-group~v2%20" target="_blank"&gt;https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/show-group~v2%20&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Grep names / uids.&lt;/P&gt;
&lt;P&gt;Set group:&amp;nbsp;&lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/set-group~v2%20" target="_blank"&gt;https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/set-group~v2%20&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 09:17:21 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Moving-hosts-between-groups/m-p/232695#M63818</guid>
      <dc:creator>Amir_Senn</dc:creator>
      <dc:date>2024-11-14T09:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: Moving hosts between groups</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Moving-hosts-between-groups/m-p/232706#M63819</link>
      <description>&lt;P&gt;Looks promising, may test this in the lab later. Does it work say if you want to move lets say only 20 out of 100 hosts to another group?&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 11:36:31 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Moving-hosts-between-groups/m-p/232706#M63819</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2024-11-14T11:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: Moving hosts between groups</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Moving-hosts-between-groups/m-p/232714#M63820</link>
      <description>&lt;P&gt;I would grep uid results from group into a file and if you want to want to limit number of items per publish you can do it by running a loop that runs on X objects until EOF.&lt;/P&gt;
&lt;P&gt;mgmt_cli show group name "test" | grep "\- uid:" &amp;gt; uid_list.txt&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 12:57:34 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Moving-hosts-between-groups/m-p/232714#M63820</guid>
      <dc:creator>Amir_Senn</dc:creator>
      <dc:date>2024-11-14T12:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: Moving hosts between groups</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Moving-hosts-between-groups/m-p/232735#M63821</link>
      <description>&lt;P&gt;Man, I wish this was possible via smart console, would have been easier, but guess not?&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 14:51:22 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Moving-hosts-between-groups/m-p/232735#M63821</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2024-11-14T14:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: Moving hosts between groups</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Moving-hosts-between-groups/m-p/232758#M63822</link>
      <description>&lt;P&gt;You can clone or add group into another group, it would also help.&lt;/P&gt;
&lt;P&gt;It just doesn't give you this as a list that you can use for other purposes.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 16:04:36 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Moving-hosts-between-groups/m-p/232758#M63822</guid>
      <dc:creator>Amir_Senn</dc:creator>
      <dc:date>2024-11-14T16:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: Moving hosts between groups</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Moving-hosts-between-groups/m-p/232760#M63823</link>
      <description>&lt;P&gt;I know you can clone the group, but dont believe you can add one into another, but will test again.&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 16:07:12 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Moving-hosts-between-groups/m-p/232760#M63823</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2024-11-14T16:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: Moving hosts between groups</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Moving-hosts-between-groups/m-p/232761#M63824</link>
      <description>&lt;P&gt;Apologies, I was wrong, my bad. Just created brand new group and it let me add 2 new groups into it. I think I was not filtering for the right objects.&lt;/P&gt;
&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/37178"&gt;@Amir_Senn&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 16:16:59 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Moving-hosts-between-groups/m-p/232761#M63824</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2024-11-14T16:16:59Z</dc:date>
    </item>
  </channel>
</rss>

