<?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 Re: Getting list of sections of a given rule-base using R80.10 API in Firewall and Security Management</title>
    <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Getting-list-of-sections-of-a-given-rule-base-using-R80-10-API/m-p/6950#M100337</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This should be done using show access-rulebase&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 08 Oct 2017 16:04:10 GMT</pubDate>
    <dc:creator>Tomer_Sole</dc:creator>
    <dc:date>2017-10-08T16:04:10Z</dc:date>
    <item>
      <title>Getting list of sections of a given rule-base using R80.10 API</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Getting-list-of-sections-of-a-given-rule-base-using-R80-10-API/m-p/6949#M100336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to get the list of all the sections of a rule base using R80.10 REST API.&lt;/P&gt;&lt;P&gt;I can see "show access-section"&amp;nbsp; API to get one section information but there is nothing like "show access-sections".&lt;/P&gt;&lt;P&gt;Is there any way to get a list of all the section of a given rule-base?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Oct 2017 17:08:22 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Getting-list-of-sections-of-a-given-rule-base-using-R80-10-API/m-p/6949#M100336</guid>
      <dc:creator>Ekta_Siwani1</dc:creator>
      <dc:date>2017-10-01T17:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: Getting list of sections of a given rule-base using R80.10 API</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Getting-list-of-sections-of-a-given-rule-base-using-R80-10-API/m-p/6950#M100337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This should be done using show access-rulebase&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Oct 2017 16:04:10 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Getting-list-of-sections-of-a-given-rule-base-using-R80-10-API/m-p/6950#M100337</guid>
      <dc:creator>Tomer_Sole</dc:creator>
      <dc:date>2017-10-08T16:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: Getting list of sections of a given rule-base using R80.10 API</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Getting-list-of-sections-of-a-given-rule-base-using-R80-10-API/m-p/194202#M100338</link>
      <description>&lt;P&gt;need to pull all the access-rulebase to extract the sections?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 03:55:20 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Getting-list-of-sections-of-a-given-rule-base-using-R80-10-API/m-p/194202#M100338</guid>
      <dc:creator>Gongya_Yu</dc:creator>
      <dc:date>2023-10-04T03:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: Getting list of sections of a given rule-base using R80.10 API</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Getting-list-of-sections-of-a-given-rule-base-using-R80-10-API/m-p/194221#M100339</link>
      <description>&lt;P&gt;Do you use any naming convention for your "sections" that would allow you to easily filter?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 11:13:21 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Getting-list-of-sections-of-a-given-rule-base-using-R80-10-API/m-p/194221#M100339</guid>
      <dc:creator>Chris_Atkinson</dc:creator>
      <dc:date>2023-10-04T11:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: Getting list of sections of a given rule-base using R80.10 API</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Getting-list-of-sections-of-a-given-rule-base-using-R80-10-API/m-p/194223#M100340</link>
      <description>&lt;P&gt;You can use the following command:&lt;/P&gt;
&lt;P&gt;mgmt_cli -r true show access-rulebase name "layer name" | grep -B 1 access-section&lt;/P&gt;
&lt;P&gt;&lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/#cli/show-access-rulebase~v1.9%20" target="_blank"&gt;https://sc1.checkpoint.com/documents/latest/APIs/#cli/show-access-rulebase~v1.9%20&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It will show all the Section Titles in the Layer with the name of each section (one line before the grep). You can also view additional lines after the output using -A &amp;lt;value&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;An example of the output from my lab:&lt;BR /&gt;&lt;BR /&gt;[Expert@gw-a30d15:0]# mgmt_cli -r true show access-rulebase name "NEW1 Network" | grep -B 1 access-section&lt;BR /&gt;name: "Test Section 1"&lt;BR /&gt;type: "access-section"&lt;BR /&gt;--&lt;BR /&gt;name: "Test Section 2"&lt;BR /&gt;type: "access-section"&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 11:48:15 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Getting-list-of-sections-of-a-given-rule-base-using-R80-10-API/m-p/194223#M100340</guid>
      <dc:creator>Tal_Paz-Fridman</dc:creator>
      <dc:date>2023-10-04T11:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: Getting list of sections of a given rule-base using R80.10 API</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Getting-list-of-sections-of-a-given-rule-base-using-R80-10-API/m-p/194245#M100341</link>
      <description>&lt;P&gt;thanks so much !! This is what I look for.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 15:19:24 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Getting-list-of-sections-of-a-given-rule-base-using-R80-10-API/m-p/194245#M100341</guid>
      <dc:creator>Gongya_Yu</dc:creator>
      <dc:date>2023-10-04T15:19:24Z</dc:date>
    </item>
  </channel>
</rss>

