<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic global policy asignment through api in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/global-policy-asignment-through-api/m-p/6208#M529</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use a mdm server with 3 domains. Therefore&amp;nbsp;I also have 3 global access policies every one off them connected to 1 domain.&lt;/P&gt;&lt;P&gt;I found an api call&amp;nbsp;to&amp;nbsp;find the name of the&amp;nbsp;global-access-policies : mgmt_cli show global-assignments limit 50 offset 0 details-level "full" --format json -s id.txt&lt;/P&gt;&lt;P&gt;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 ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Sep 2017 14:21:47 GMT</pubDate>
    <dc:creator>Mark_Jansen</dc:creator>
    <dc:date>2017-09-11T14:21:47Z</dc:date>
    <item>
      <title>global policy asignment through api</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/global-policy-asignment-through-api/m-p/6208#M529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use a mdm server with 3 domains. Therefore&amp;nbsp;I also have 3 global access policies every one off them connected to 1 domain.&lt;/P&gt;&lt;P&gt;I found an api call&amp;nbsp;to&amp;nbsp;find the name of the&amp;nbsp;global-access-policies : mgmt_cli show global-assignments limit 50 offset 0 details-level "full" --format json -s id.txt&lt;/P&gt;&lt;P&gt;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 ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 14:21:47 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/global-policy-asignment-through-api/m-p/6208#M529</guid>
      <dc:creator>Mark_Jansen</dc:creator>
      <dc:date>2017-09-11T14:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: global policy asignment through api</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/global-policy-asignment-through-api/m-p/6209#M530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;following topic&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 15:41:53 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/global-policy-asignment-through-api/m-p/6209#M530</guid>
      <dc:creator>Marco_Valenti</dc:creator>
      <dc:date>2017-09-11T15:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: global policy asignment through api</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/global-policy-asignment-through-api/m-p/6210#M531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since you're asking an API question, let's move it into the &lt;A href="https://community.checkpoint.com/community/developers?sr=search&amp;amp;searchId=3a252700-3642-44a2-9190-3b739c5a88e7&amp;amp;searchIndex=0" target="_blank"&gt;https://community.checkpoint.com/community/developers?sr=search&amp;amp;searchId=3a252700-3642-44a2-9190-3b739c5a88e7&amp;amp;searchIndex=0&lt;/A&gt;‌ space.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jun 2019 08:57:27 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/global-policy-asignment-through-api/m-p/6210#M531</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2019-06-21T08:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: global policy asignment through api</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/global-policy-asignment-through-api/m-p/6211#M532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;any hint for that task? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 07:13:13 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/global-policy-asignment-through-api/m-p/6211#M532</guid>
      <dc:creator>Marco_Valenti</dc:creator>
      <dc:date>2017-09-18T07:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: global policy asignment through api</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/global-policy-asignment-through-api/m-p/6212#M533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Just now noticed this post, if still relevant...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no single API command to accomplish your task. You have to go over each domain and run the "show-package" API command.&lt;/P&gt;&lt;P&gt;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".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.checkpoint.com/legacyfs/online/checkpoint/62667_global.png" style="width: 620px; height: 387px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Robert.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2018 09:44:09 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/global-policy-asignment-through-api/m-p/6212#M533</guid>
      <dc:creator>Robert_Decker</dc:creator>
      <dc:date>2018-01-30T09:44:09Z</dc:date>
    </item>
  </channel>
</rss>

