- CheckMates
- :
- Products
- :
- Developers
- :
- API / CLI Discussion
- :
- global policy asignment through api
- 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?
×- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
global policy asignment through api
I use a mdm server with 3 domains. Therefore I also have 3 global access policies every one off them connected to 1 domain.
I found an api call to find the name of the global-access-policies : mgmt_cli show global-assignments limit 50 offset 0 details-level "full" --format json -s id.txt
But now I want to know to which (one or more) local domain policy the global-access-policy is assigned. Because in our case, not every domain policy will have the global policy assigned. Is there a way to get this information through an api call ?
Regards,
Mark
- Tags:
- r80 api
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
following topic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Since you're asking an API question, let's move it into the https://community.checkpoint.com/community/developers?sr=search&searchId=3a252700-3642-44a2-9190-3b7... space.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
any hint for that task?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Just now noticed this post, if still relevant...
There is no single API command to accomplish your task. You have to go over each domain and run the "show-package" API command.
The output of this command has a section named "access-layers". For each access layer you have to check the "domain" object field and check if the "name" field has a value "Global".
Robert.
