<?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: Management unused objects script in Scripts</title>
    <link>https://community.checkpoint.com/t5/Scripts/Management-unused-objects-script/m-p/270026#M1458</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;executing the script using bash -x&amp;nbsp;cp_unused_objects.sh ... returns the error:&amp;nbsp;&amp;nbsp;jq: Unknown option --argjson&lt;/P&gt;&lt;P&gt;I tested the script on an MDS R81.20, JQ version is 1.4 and this version doesn't provide argjson option.&lt;/P&gt;</description>
    <pubDate>Mon, 09 Feb 2026 08:55:38 GMT</pubDate>
    <dc:creator>simonemantovani</dc:creator>
    <dc:date>2026-02-09T08:55:38Z</dc:date>
    <item>
      <title>Management unused objects script</title>
      <link>https://community.checkpoint.com/t5/Scripts/Management-unused-objects-script/m-p/269989#M1448</link>
      <description>10</description>
      <pubDate>Thu, 19 Mar 2026 15:29:33 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Management-unused-objects-script/m-p/269989#M1448</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2026-03-19T15:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: Management unused objects script</title>
      <link>https://community.checkpoint.com/t5/Scripts/Management-unused-objects-script/m-p/269992#M1449</link>
      <description>&lt;P&gt;Just had a view on the script using my mobile and have two thoughts.&lt;/P&gt;
&lt;P&gt;I was wondering, does it make sense to check for jq right at the start and just exit if it's missing instead of checking nd exiting in the middle of the script?&lt;/P&gt;
&lt;P&gt;Also, could it be that the script is a bit inefficient when many many objects come Into the gane by constantly reading and rewriting large data files? Perhaps appending the new data would be much faster. Correct me if I m wrong because &amp;nbsp;misread the script.&lt;/P&gt;</description>
      <pubDate>Sun, 08 Feb 2026 18:17:13 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Management-unused-objects-script/m-p/269992#M1449</guid>
      <dc:creator>Vincent_Bacher</dc:creator>
      <dc:date>2026-02-08T18:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: Management unused objects script</title>
      <link>https://community.checkpoint.com/t5/Scripts/Management-unused-objects-script/m-p/269993#M1450</link>
      <description>&lt;P&gt;Yea...thats why Im trying to see if I can test it on management with lots of unused objects. Let me try my standalone lab and see.&lt;/P&gt;</description>
      <pubDate>Sun, 08 Feb 2026 18:22:25 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Management-unused-objects-script/m-p/269993#M1450</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2026-02-08T18:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: Management unused objects script</title>
      <link>https://community.checkpoint.com/t5/Scripts/Management-unused-objects-script/m-p/270023#M1456</link>
      <description>&lt;P&gt;Just tested on a test domain using&lt;BR /&gt;&lt;BR /&gt;time ./cpunused.sh --user &amp;lt;my user&amp;gt; --password &amp;lt;my pass&amp;gt; --domain "TEST"&lt;BR /&gt;&lt;BR /&gt;Script ran and created empty directory.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Feb 2026 06:33:49 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Management-unused-objects-script/m-p/270023#M1456</guid>
      <dc:creator>Vincent_Bacher</dc:creator>
      <dc:date>2026-02-09T06:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: Management unused objects script</title>
      <link>https://community.checkpoint.com/t5/Scripts/Management-unused-objects-script/m-p/270026#M1458</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;executing the script using bash -x&amp;nbsp;cp_unused_objects.sh ... returns the error:&amp;nbsp;&amp;nbsp;jq: Unknown option --argjson&lt;/P&gt;&lt;P&gt;I tested the script on an MDS R81.20, JQ version is 1.4 and this version doesn't provide argjson option.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Feb 2026 08:55:38 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Management-unused-objects-script/m-p/270026#M1458</guid>
      <dc:creator>simonemantovani</dc:creator>
      <dc:date>2026-02-09T08:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: Management unused objects script</title>
      <link>https://community.checkpoint.com/t5/Scripts/Management-unused-objects-script/m-p/270036#M1459</link>
      <description>&lt;P&gt;On our R82 server i get the same error.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Feb 2026 10:10:37 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Management-unused-objects-script/m-p/270036#M1459</guid>
      <dc:creator>Vincent_Bacher</dc:creator>
      <dc:date>2026-02-09T10:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: Management unused objects script</title>
      <link>https://community.checkpoint.com/t5/Scripts/Management-unused-objects-script/m-p/270037#M1460</link>
      <description>&lt;P&gt;Did some modifications and this version worked on a test domain in our environment:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;================================================================================
CHECK POINT UNUSED OBJECTS REPORT
================================================================================
Generated: 2026-02-09 11:13:14
Domain: TEST

================================================================================
SUMMARY
================================================================================
Total unused objects:          9
Unused services:               4
Unused non-services:           5

================================================================================
TOP 10 OBJECT TYPES
================================================================================
  host                               4 ( 44.4%) ######################
  service-tcp                        4 ( 44.4%) ######################
  group                              1 ( 11.1%) #####

================================================================================
OUTPUT FILES
================================================================================
  - ./cp_unused_2026-02-09_111310/unused_all.json
  - ./cp_unused_2026-02-09_111310/unused_all.csv
  - ./cp_unused_2026-02-09_111310/unused_services.csv
  - ./cp_unused_2026-02-09_111310/unused_non_services.csv
  - ./cp_unused_2026-02-09_111310/unused_report.txt
================================================================================
[INFO]
[INFO] ================================================================================
[INFO] ✓ SUCCESS - All files exported to: /home/m4sebbl/cp_unused_2026-02-09_111310
[INFO] ================================================================================
[INFO]
[INFO] Cleaning up session...
&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 09 Feb 2026 10:15:25 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Management-unused-objects-script/m-p/270037#M1460</guid>
      <dc:creator>Vincent_Bacher</dc:creator>
      <dc:date>2026-02-09T10:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: Management unused objects script</title>
      <link>https://community.checkpoint.com/t5/Scripts/Management-unused-objects-script/m-p/270038#M1461</link>
      <description>&lt;P&gt;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/38213"&gt;@the_rock&lt;/a&gt;&amp;nbsp; fyi:&lt;BR /&gt;&lt;BR /&gt;Just tested this version on a CMA with more objects.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;================================================================================
SUMMARY
================================================================================
Total unused objects:       2058
Unused services:             144
Unused non-services:        1914
&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;Time used:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;real    0m27.392s
user    0m2.945s
sys     0m2.828s
&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Feb 2026 10:33:58 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Management-unused-objects-script/m-p/270038#M1461</guid>
      <dc:creator>Vincent_Bacher</dc:creator>
      <dc:date>2026-02-09T10:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: Management unused objects script</title>
      <link>https://community.checkpoint.com/t5/Scripts/Management-unused-objects-script/m-p/270048#M1462</link>
      <description>&lt;P&gt;Will test it shortly.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Feb 2026 12:12:42 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Management-unused-objects-script/m-p/270048#M1462</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2026-02-09T12:12:42Z</dc:date>
    </item>
  </channel>
</rss>

