<?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 How to get Target details of Policies and Layers? in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-get-Target-details-of-Policies-and-Layers/m-p/118929#M5852</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;In the Checkpoint management server, Under the Manage Policies option, we have the option to provide policy target of selected policies and layers. In this target field, we can provide any gateway or cluster names.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="policies.png" style="width: 998px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/11750i11D50BE0311F0D81/image-size/large?v=v2&amp;amp;px=999" role="button" title="policies.png" alt="policies.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way to get install target info with Policies name details using Management API? I tried below API methods:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;https://managementServerIP/web_api/show-access-layers&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;https://managementServerIP/web_api/show-access-layer&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Both API responses are not contained Policy Target information.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards,&lt;/P&gt;&lt;P&gt;Veera&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 20 May 2021 14:01:10 GMT</pubDate>
    <dc:creator>Veeraselvam_man</dc:creator>
    <dc:date>2021-05-20T14:01:10Z</dc:date>
    <item>
      <title>How to get Target details of Policies and Layers?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-get-Target-details-of-Policies-and-Layers/m-p/118929#M5852</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;In the Checkpoint management server, Under the Manage Policies option, we have the option to provide policy target of selected policies and layers. In this target field, we can provide any gateway or cluster names.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="policies.png" style="width: 998px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/11750i11D50BE0311F0D81/image-size/large?v=v2&amp;amp;px=999" role="button" title="policies.png" alt="policies.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way to get install target info with Policies name details using Management API? I tried below API methods:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;https://managementServerIP/web_api/show-access-layers&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;https://managementServerIP/web_api/show-access-layer&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Both API responses are not contained Policy Target information.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards,&lt;/P&gt;&lt;P&gt;Veera&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 May 2021 14:01:10 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-get-Target-details-of-Policies-and-Layers/m-p/118929#M5852</guid>
      <dc:creator>Veeraselvam_man</dc:creator>
      <dc:date>2021-05-20T14:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Target details of Policies and Layers?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-get-Target-details-of-Policies-and-Layers/m-p/118936#M5853</link>
      <description>&lt;P&gt;What that screen shows you are actually the policy packages, which contain one or more layers.&lt;BR /&gt;Layers themselves do not have such a target, thus you won’t see it by that API.&lt;BR /&gt;It’s show-package (and friends).&lt;/P&gt;
&lt;P&gt;Also, when you’re installing a policy to a gateway, it’s the policy package you install, not the layer.&lt;/P&gt;</description>
      <pubDate>Thu, 20 May 2021 14:27:29 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-get-Target-details-of-Policies-and-Layers/m-p/118936#M5853</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2021-05-20T14:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Target details of Policies and Layers?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-get-Target-details-of-Policies-and-Layers/m-p/118938#M5854</link>
      <description>&lt;P&gt;Installation targets are a property of the policy package, not the access layer:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[Expert@LabSC]# mgmt_cli -r true --format json show packages details-level full | jq '.packages[]|{name:.name,targets:."installation-targets"}'
{
  "name": "Policy_the_Second",
  "targets": "all"
}
{
  "name": "Standard",
  "targets": "all"
}&lt;/LI-CODE&gt;
&lt;P&gt;I haven't gotten around to exploring all the possible values for the field. My bet is it's a string with a few acceptable values or a list with names of acceptable targets.&lt;/P&gt;</description>
      <pubDate>Thu, 20 May 2021 14:29:47 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-get-Target-details-of-Policies-and-Layers/m-p/118938#M5854</guid>
      <dc:creator>Bob_Zimmerman</dc:creator>
      <dc:date>2021-05-20T14:29:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Target details of Policies and Layers?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-get-Target-details-of-Policies-and-Layers/m-p/118940#M5855</link>
      <description>&lt;P&gt;Thank you for your timely help &lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/7"&gt;@PhoneBoy&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Veera&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 May 2021 15:00:37 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-get-Target-details-of-Policies-and-Layers/m-p/118940#M5855</guid>
      <dc:creator>Veeraselvam_man</dc:creator>
      <dc:date>2021-05-20T15:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Target details of Policies and Layers?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-get-Target-details-of-Policies-and-Layers/m-p/118942#M5856</link>
      <description>&lt;P&gt;Thank you for your timely help &lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/27871"&gt;@Bob_Zimmerman&lt;/a&gt;&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":folded_hands:"&gt;🙏&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Veera&lt;/P&gt;</description>
      <pubDate>Thu, 20 May 2021 15:02:17 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-get-Target-details-of-Policies-and-Layers/m-p/118942#M5856</guid>
      <dc:creator>Veeraselvam_man</dc:creator>
      <dc:date>2021-05-20T15:02:17Z</dc:date>
    </item>
  </channel>
</rss>

