cancel
Showing results for 
Search instead for 
Did you mean: 
Create a Post
Highlighted

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 (1)
0 Kudos
4 Replies
Highlighted

Re: global policy asignment through api

following topic

0 Kudos
Highlighted
Admin
Admin

Re: global policy asignment through api

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.

0 Kudos
Highlighted

Re: global policy asignment through api

any hint for that task?

0 Kudos
Highlighted
Employee++
Employee++

Re: global policy asignment through api

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.

0 Kudos