- CheckMates
- :
- Products
- :
- Developers
- :
- API / CLI Discussion
- :
- API - Verify if rule already exists
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Are you a member of CheckMates?
×
Sign in with your Check Point UserCenter/PartnerMap account to access more great content and get a chance to win some Apple AirPods! If you don't have an account, create one now for free!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
API - Verify if rule already exists
I have everything working to be able to automate creating rules, but I am not sure how to verify if the rule already exists. Does anybody have some documentation or example on how to verify if rules already exist with the API?
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here's a thread that is actively discussing this: https://community.checkpoint.com/t5/API-CLI-Discussion-and-Samples/API-call-to-see-if-rule-already-e...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks! I ended up solving my problem by doing a policy verification, checking the status of the verification task ID, then if it fails, remove the rules that were added and publish.