- Products
- Learn
- Local User Groups
- Partners
- More
On-Premise SD-WAN Management
Register HereWhat's New in R82.10?
Watch Here AI Security Masters E8:
Claude Mythos: New Era in Cyber Security
CheckMates Go:
The Moment Before
Hi guys,
How can I get the revision list information by API or CLI for R80.40, I want get revision id as parameter for install-policy CLI to simply rollback the policy installed on the gateway without reverting the database on the manager.
Best Regards,
Sam
Not sure.
@Omer_Kleinstern ?
Revisions can be viewed with show-sessions API with view-published-sessions set to true:
https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/show-sessions~v1.6.1%20
Thank you very much for your reply, Do you mean that revision UID is actually the published session UID, revision UID = session UID?
Another question I would appreciate if you could answer, If call revert-to-revision to revert to specific version it will roll back not only the database, but also the policy that last installed, right?
Best Regards,
Sam
Yes, the session UID is the revision UID in this case.
revert-to-version will only roll back the database on the management, it will not impact the policy installed on the gateway, which must be done separately.
Thanks a lot! However, after I called revert-to-revision API to roll back to the previous version, I found the database rollback was successful, but the last record in policy install history is gone, which means that the contents of the policy have also been rolled back? if not, how do I see the actual content installed on the gateway in dashboard.
Best Regards,
Sam
Remember that a policy install action can only happen AFTER a session is published.
Therefore, if you roll the database back to a specific revision, any records of policy installation that occur after that will also be gone.
The gateway has its own (compiled) version of the policy installed.
There is no simple way to show that policy in SmartConsole or anywhere else.
The only way to affect that is an explicit policy install action.
Thank you very much for your reply, is there a limit on the number of records or time in the revisions? Can I rollback half a year or more, which means will the revision records from long ago be retained in reversion list? even though there are thousands of records in the revisions, the database retains all published changes(revisions) ?
Best Regards,
Sam
The API call will only return a certain number of entries by default, but you can do multiple queries with limit/offset parameters to get all the revisions.
There isn't a specific limit of revisions that I'm aware of, but when you do a version upgrade, the revision history is not carried over.
More precisely, only the published state of the database at the point of upgrade is carried over and any unpublished sessions will be discarded.
It should also be noted: once you use the revert action, there is no going back short of a full restore from backup, which you hopefully make before using this function.
Leaderboard
Epsum factorial non deposit quid pro quo hic escorol.
| User | Count |
|---|---|
| 72 | |
| 24 | |
| 8 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 |
Tue 14 Jul 2026 @ 10:00 AM (PDT)
AI Security Masters E11: READY OR NOT: Securing the AI Enterprise 3/5 - AI Workforce SecurityThu 30 Jul 2026 @ 10:00 AM (PDT)
AI Security Masters E12: READY OR NOT: Securing the AI Enterprise 4/5 - AI GatewayThu 20 Aug 2026 @ 10:00 AM (PDT)
AI Security Masters E13: READY OR NOT: Securing the AI Ent 5/5 - AI Research & Threat LandscapeTue 14 Jul 2026 @ 10:00 AM (PDT)
AI Security Masters E11: READY OR NOT: Securing the AI Enterprise 3/5 - AI Workforce SecurityThu 30 Jul 2026 @ 10:00 AM (PDT)
AI Security Masters E12: READY OR NOT: Securing the AI Enterprise 4/5 - AI GatewayThu 20 Aug 2026 @ 10:00 AM (PDT)
AI Security Masters E13: READY OR NOT: Securing the AI Ent 5/5 - AI Research & Threat LandscapeAbout CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY