- Products
- Learn
- Local User Groups
- Partners
- More
What's New in R82.10?
10 December @ 5pm CET / 11am ET
Improve Your Security Posture with
Threat Prevention and Policy Insights
Overlap in Security Validation
Help us to understand your needs better
CheckMates Go:
Maestro Madness
Hi all,
I'm testing a csv files to modify multiple host by "add host" comments.
ex : mgmt_cli add host -b test.scv
I agree that I need to create the group first.
the csv file can be run.
but If I want to modify a host let it remove from a group.
Which "character" I need to fill in group column ?
It looks like only can run A group move to B group.
Any suggestion ?
put "Double quotes" in the comments column that can remove the comments contents.
You cannot remove an object from the group this way. You can probably remove objects from a group by using set group command.
You cannot remove an object from the group this way. You can probably remove objects from a group by using set group command.
that right, it works.
You can use the set group command or set host commands
https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/set-group~v1.8%20
https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/set-host~v1.8%20
More section
If you're importing the second CSV with the cli command mgmt_cli add host -b test.scv, that's not going to work as it is not possible to change an object's group by using the "add-host" API endpoint.
You would need a differently constructed CSV for this purpose as well as a different command (e.g. mgmt_cli set host -b test.csv).
I just test it again by demo mode (R81.10)
It works for "change group" via add-host comment by a csv file.
I think that is why I want to remove a members(host) from a group (Does not belong anyone) through add-host comments with a csv file.
the Audit log show as below
That seems like unexpected behavior (changing a group membership via add host).
@Omer_Kleinstern ?
The field "set-if-exists" is used which makes it a set-host command and not add-host.
I'll try it on CheckMates-Labs later.🙂
I launch a Lab to testing again, the testing result show as before.
the comment "add host" with a csv file could move object from groupA to groupB
[A&B gruop need exist first]
Leaderboard
Epsum factorial non deposit quid pro quo hic escorol.
| User | Count |
|---|---|
| 4 | |
| 3 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
Wed 26 Nov 2025 @ 12:00 PM (COT)
Panama City: Risk Management a la Parrilla: ERM, TEM & Meat LunchWed 03 Dec 2025 @ 10:00 AM (COT)
Última Sesión del Año – CheckMates LATAM: ERM & TEM con ExpertosThu 04 Dec 2025 @ 12:30 PM (SGT)
End-of-Year Event: Securing AI Transformation in a Hyperconnected World - APACThu 04 Dec 2025 @ 03:00 PM (CET)
End-of-Year Event: Securing AI Transformation in a Hyperconnected World - EMEAThu 04 Dec 2025 @ 02:00 PM (EST)
End-of-Year Event: Securing AI Transformation in a Hyperconnected World - AmericasWed 03 Dec 2025 @ 10:00 AM (COT)
Última Sesión del Año – CheckMates LATAM: ERM & TEM con ExpertosThu 04 Dec 2025 @ 12:30 PM (SGT)
End-of-Year Event: Securing AI Transformation in a Hyperconnected World - APACThu 04 Dec 2025 @ 03:00 PM (CET)
End-of-Year Event: Securing AI Transformation in a Hyperconnected World - EMEAThu 04 Dec 2025 @ 02:00 PM (EST)
End-of-Year Event: Securing AI Transformation in a Hyperconnected World - AmericasWed 26 Nov 2025 @ 12:00 PM (COT)
Panama City: Risk Management a la Parrilla: ERM, TEM & Meat LunchAbout CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY