<?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 export the zero hit rule.(export to html) in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-export-the-zero-hit-rule-export-to-html/m-p/145935#M6714</link>
    <description>&lt;P&gt;How to export the zero hit rule.&lt;/P&gt;&lt;P&gt;Hello, I am an engineer working at CCSP in South-Korea.&lt;/P&gt;&lt;P&gt;I'm writing this post in case someone doesn't know how to export the zero hit rule to html.&lt;/P&gt;&lt;P&gt;In the past, it was possible to search for zero hit rules in the R77.30 Smartconsole Search bar. (Search bar syntax, hit:Zero)&lt;/P&gt;&lt;P&gt;In R77.30 Smartconsole, search was possible, but only PDF printing was possible, and Web visualization tool could not display hit count.&lt;/P&gt;&lt;P&gt;Also, R77.30 is EOS.&lt;/P&gt;&lt;P&gt;In R80.x, even the Search bar function is gone.&lt;/P&gt;&lt;P&gt;The manufacturer says that it is possible to export hit count csv from R81.10 + JHF to csv. (I haven't tried it)&lt;/P&gt;&lt;P&gt;Anyway, it is possible to export to html by displaying the hitcount using the -c option in the show package tool.&lt;/P&gt;&lt;P&gt;The -c option defaults to false .&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note.&lt;BR /&gt;The show package tool -c option was tested in R81.10 and&amp;nbsp; R80.40 and R80.30.&lt;/P&gt;&lt;P&gt;As a result of checking in R80.20 &amp;amp; R80.10 OS, there is no -c option in web_api_show_package.sh.&lt;/P&gt;&lt;P&gt;Check if web_api_show_package.sh can be upgraded.&lt;/P&gt;&lt;P&gt;If this method is difficult, Consider the installing latest jumbo hotfix or OS upgrade.&lt;/P&gt;&lt;P&gt;------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;1. Use the -c option when using Show Package Tool. (&lt;SPAN&gt;sk120342)&lt;/SPAN&gt;&lt;BR /&gt;Example) [Expert@HostName]# $MDS_FWDIR/scripts/web_api_show_package.sh -k Testpolicy_20220411 -c&lt;/P&gt;&lt;P&gt;2. tgz is created successfully, and download&amp;nbsp; with Winscp.&lt;/P&gt;&lt;P&gt;3. And open Security-management server.html and you will see hit count.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="zero hit example.png" style="width: 580px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/16063i51966CF07770CA21/image-size/large?v=v2&amp;amp;px=999" role="button" title="zero hit example.png" alt="zero hit example.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Finally, when I open html with excel program, it does not open well.&lt;/P&gt;&lt;P&gt;Use Ctrl+A and Ctrl+C, Ctrl+V or find a way to convert html to csv.&lt;/P&gt;&lt;P&gt;If this is a duplicate post, please let me know and I will delete the post.&lt;/P&gt;&lt;P&gt;thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 19 Apr 2022 04:35:14 GMT</pubDate>
    <dc:creator>Jung_Patrick</dc:creator>
    <dc:date>2022-04-19T04:35:14Z</dc:date>
    <item>
      <title>How to export the zero hit rule.(export to html)</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-export-the-zero-hit-rule-export-to-html/m-p/145935#M6714</link>
      <description>&lt;P&gt;How to export the zero hit rule.&lt;/P&gt;&lt;P&gt;Hello, I am an engineer working at CCSP in South-Korea.&lt;/P&gt;&lt;P&gt;I'm writing this post in case someone doesn't know how to export the zero hit rule to html.&lt;/P&gt;&lt;P&gt;In the past, it was possible to search for zero hit rules in the R77.30 Smartconsole Search bar. (Search bar syntax, hit:Zero)&lt;/P&gt;&lt;P&gt;In R77.30 Smartconsole, search was possible, but only PDF printing was possible, and Web visualization tool could not display hit count.&lt;/P&gt;&lt;P&gt;Also, R77.30 is EOS.&lt;/P&gt;&lt;P&gt;In R80.x, even the Search bar function is gone.&lt;/P&gt;&lt;P&gt;The manufacturer says that it is possible to export hit count csv from R81.10 + JHF to csv. (I haven't tried it)&lt;/P&gt;&lt;P&gt;Anyway, it is possible to export to html by displaying the hitcount using the -c option in the show package tool.&lt;/P&gt;&lt;P&gt;The -c option defaults to false .&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note.&lt;BR /&gt;The show package tool -c option was tested in R81.10 and&amp;nbsp; R80.40 and R80.30.&lt;/P&gt;&lt;P&gt;As a result of checking in R80.20 &amp;amp; R80.10 OS, there is no -c option in web_api_show_package.sh.&lt;/P&gt;&lt;P&gt;Check if web_api_show_package.sh can be upgraded.&lt;/P&gt;&lt;P&gt;If this method is difficult, Consider the installing latest jumbo hotfix or OS upgrade.&lt;/P&gt;&lt;P&gt;------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;1. Use the -c option when using Show Package Tool. (&lt;SPAN&gt;sk120342)&lt;/SPAN&gt;&lt;BR /&gt;Example) [Expert@HostName]# $MDS_FWDIR/scripts/web_api_show_package.sh -k Testpolicy_20220411 -c&lt;/P&gt;&lt;P&gt;2. tgz is created successfully, and download&amp;nbsp; with Winscp.&lt;/P&gt;&lt;P&gt;3. And open Security-management server.html and you will see hit count.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="zero hit example.png" style="width: 580px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/16063i51966CF07770CA21/image-size/large?v=v2&amp;amp;px=999" role="button" title="zero hit example.png" alt="zero hit example.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Finally, when I open html with excel program, it does not open well.&lt;/P&gt;&lt;P&gt;Use Ctrl+A and Ctrl+C, Ctrl+V or find a way to convert html to csv.&lt;/P&gt;&lt;P&gt;If this is a duplicate post, please let me know and I will delete the post.&lt;/P&gt;&lt;P&gt;thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Apr 2022 04:35:14 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-export-the-zero-hit-rule-export-to-html/m-p/145935#M6714</guid>
      <dc:creator>Jung_Patrick</dc:creator>
      <dc:date>2022-04-19T04:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to export the zero hit rule.(export to html)</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-export-the-zero-hit-rule-export-to-html/m-p/146329#M6730</link>
      <description>&lt;P&gt;Thanks for sharing this, it's a good tip!&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2022 23:15:20 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-export-the-zero-hit-rule-export-to-html/m-p/146329#M6730</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2022-04-14T23:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to export the zero hit rule.(export to html)</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-export-the-zero-hit-rule-export-to-html/m-p/146331#M6731</link>
      <description>&lt;P&gt;I agree with&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/7"&gt;@PhoneBoy&lt;/a&gt;&amp;nbsp;...excellent tip, thanks very much&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/13734"&gt;@Jung_Patrick&lt;/a&gt;&amp;nbsp;. Btw, yes, you are correct, it is possible when exporting rules in csv format to see rules with 0 hits, I did it for a customer and in the lab and it does work.&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2022 00:01:29 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-to-export-the-zero-hit-rule-export-to-html/m-p/146331#M6731</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2022-04-15T00:01:29Z</dc:date>
    </item>
  </channel>
</rss>

