- CheckMates
- :
- Products
- :
- Developers
- :
- API / CLI Discussion
- :
- How to take Objects, hosts & VPN community via web...
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
How to take Objects, hosts & VPN community via web_api
Hi Guys,
How to take Objects, hosts & VPN community via web_api for each ipsec VPN.
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You'd have to parse policies and gateways to determine what VPNs exist, then pull the relevant information based on what you find.
Easiest thing to do is to start with the different VPN Community objects that exist:
- https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/show-vpn-communities-meshed~v1.8%20
- https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/show-vpn-communities-star~v1.8%20
From there you can pull the the information from the gateways about what networks and hosts are used and what policy rules may be available.
Note if you're using any Interoperable VPN objects, there is no official API support for these objects until R81.20.
That said, using generic-object calls, you can probably pull the data on these objects.
