- Products
- Learn
- Local User Groups
- Partners
- More
CheckMates Fifth Birthday
Celebrate with Us!
days
hours
minutes
seconds
Join the CHECKMATES Everywhere Competition
Submit your picture to win!
Check Point Proactive support
Free trial available for 90 Days!
As YOU DESERVE THE BEST SECURITY
Upgrade to our latest GA Jumbo
The 2022 MITRE Engenuity ATT&CK®
Evaluations Results Are In!
Now Available: SmartAwareness Security Training
Training Built to Educate and Engage
MITRE ATT&CK
Inside Check Point products!
CheckFlix!
All Videos In One Space
Hello
Multi MDS R80.10
Is there any way to non-interactively install policy using management API ?
Im asking because i want to script policy installations to happen periodically, as there is no option to use expect, how can i go through policy installations non-interactively ?
@piotrsz90 wrote:
That works to me, however flags "[...]--root true -u admin[...]" bring ambiguous parameters error, beside this all is fine.
Because of MDS you have to use domain:
mgmt_cli --root true --domain <domain> install-policy <policyname>
BTW: You can add "prepare-only true" to a first test.
Also look in the Management API Reference Guide:
https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/install-policy~v1.5%20
Another option you can use is Install Policy Presets that were added in R80.20 to Multi-Domain SmartConsole.
About CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY