Hi,
I am trying to add Snort-based protections to an R82 MDS, using API only.
The flow is:
1. put-file - getting a Snort rules file on the MDS
2. add-threat-protections - importing the new protections
3. publish - getting the protections parsed into the Global domain
4. set-threat-protections - setting the new protections to "Prevent" on all default profiles
5. publish
6. set-global-assignment - setting the stage for applying the change (I am using "'manage-protection-actions': True ")
7. assign-global-assignment - getting the new protections to the dependent-domains
At this point, running show-threat-protections after logging into the dependent-domain (using login-to-domain) shows that the new protections do exist in the dependent-domain. Now my code calls "publish" to finish the flow.
Everything seems to work, but the Snort protections that were added to the Global domain do not show in the dependent-domain Managements.
The same thing happens when I follow the manual flow described on https://sc1.checkpoint.com/documents/R82/WebAdminGuides/EN/CP_R82_ThreatPrevention_AdminGuide/Conten... (under "Importing SNORT Protection Rules to the Multi-Domain Server). After I upload the Snort rules file to the Global domain and re-Assign to the dependent-domains, the new protections do not show in the domains' Management servers. (The manual instructions don't say whether this is the expected behavior or not!)
Is there something I am missing in this flow? Has anyone succeeded in getting this to work?
Thanks for any ideas!