<?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: How to View Deleted Rules/Objects on the Firewall? in General Topics</title>
    <link>https://community.checkpoint.com/t5/General-Topics/How-to-View-Deleted-Rules-Objects-on-the-Firewall/m-p/137864#M24581</link>
    <description>&lt;P&gt;nice oneliner&lt;/P&gt;</description>
    <pubDate>Thu, 06 Jan 2022 18:41:38 GMT</pubDate>
    <dc:creator>HeikoAnkenbrand</dc:creator>
    <dc:date>2022-01-06T18:41:38Z</dc:date>
    <item>
      <title>How to View Deleted Rules/Objects on the Firewall?</title>
      <link>https://community.checkpoint.com/t5/General-Topics/How-to-View-Deleted-Rules-Objects-on-the-Firewall/m-p/137774#M24575</link>
      <description>&lt;P&gt;Is there a way to check for the deleted rules/objects on the firewall once it is published and has been installed? I've tried to open the revision session, but still unable to check for the deleted rules/objects on the firewall. We're running on R80.40. Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jan 2022 22:07:46 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/How-to-View-Deleted-Rules-Objects-on-the-Firewall/m-p/137774#M24575</guid>
      <dc:creator>tawsif</dc:creator>
      <dc:date>2022-01-05T22:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to View Deleted Rules/Objects on the Firewall?</title>
      <link>https://community.checkpoint.com/t5/General-Topics/How-to-View-Deleted-Rules-Objects-on-the-Firewall/m-p/137781#M24576</link>
      <description>&lt;P&gt;The "Audit Logs" pane should detail the changes, is no information available there in your environment?&lt;/P&gt;
&lt;P&gt;Also depending on the version you will have a "Changes" option under "Actions" to compare the policy revisions.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jan 2022 02:51:37 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/How-to-View-Deleted-Rules-Objects-on-the-Firewall/m-p/137781#M24576</guid>
      <dc:creator>Chris_Atkinson</dc:creator>
      <dc:date>2022-01-06T02:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to View Deleted Rules/Objects on the Firewall?</title>
      <link>https://community.checkpoint.com/t5/General-Topics/How-to-View-Deleted-Rules-Objects-on-the-Firewall/m-p/137806#M24577</link>
      <description>&lt;P&gt;Here's a crude one-liner to run in Expert mode that will create a CSV with all deleted objects since last publish. For hosts and networks, it will give IP and subnet mask. For groups, the name. All the rest, name and UID. Output will be saved in deleted_items.csv&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;mgmt_cli -r true show changes -f json | jq '."tasks"[] |."task-details"[] | ."changes"[] | .operations | ."deleted-objects"[] | select(.type == "host") |  [.name, .type, ."ipv4-address"] |@csv' &amp;gt;&amp;gt; deleted_items.csv; mgmt_cli -r true show changes -f json | jq '."tasks"[] |."task-details"[] | ."changes"[] | .operations | ."deleted-objects"[] | select(.type == "network") |  [.name, .type, .subnet4, ."subnet-mask"] |@csv' &amp;gt;&amp;gt; deleted_items.csv; mgmt_cli -r true show changes -f json | jq '."tasks"[] |."task-details"[] | ."changes"[] | .operations | ."deleted-objects"[] | select(.type == "group") |  [.name, .type] |@csv' &amp;gt;&amp;gt; deleted_items.csv; mgmt_cli -r true show changes -f json | jq '."tasks"[] |."task-details"[] | ."changes"[] | .operations | ."deleted-objects"[] | select(.type != "host" and .type != "network" and .type != "group") | [.name, .type, .uid] |@csv' &amp;gt;&amp;gt; deleted_items.csv&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example output from a lab environment where I deleted a bunch of things.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;cat deleted_items.csv
"\"Host_5\",\"host\",\"10.10.10.5\""
"\"Host_3\",\"host\",\"10.10.10.3\""
"\"Host_1\",\"host\",\"10.10.10.1\""
"\"Host_2\",\"host\",\"10.10.10.2\""
"\"Host_4\",\"host\",\"10.10.10.4\""
"\"myNet_1\",\"network\",\"10.10.100.0\",\"255.255.255.0\""
"\"myNet_2\",\"network\",\"10.10.200.0\",\"255.255.255.0\""
"\"myGroup\",\"group\""
",\"access-rule\",\"b2766e39-480c-4090-ad2f-4252ca6b6f12\""&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jan 2022 12:29:23 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/How-to-View-Deleted-Rules-Objects-on-the-Firewall/m-p/137806#M24577</guid>
      <dc:creator>Alex-</dc:creator>
      <dc:date>2022-01-06T12:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to View Deleted Rules/Objects on the Firewall?</title>
      <link>https://community.checkpoint.com/t5/General-Topics/How-to-View-Deleted-Rules-Objects-on-the-Firewall/m-p/137864#M24581</link>
      <description>&lt;P&gt;nice oneliner&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jan 2022 18:41:38 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/How-to-View-Deleted-Rules-Objects-on-the-Firewall/m-p/137864#M24581</guid>
      <dc:creator>HeikoAnkenbrand</dc:creator>
      <dc:date>2022-01-06T18:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to View Deleted Rules/Objects on the Firewall?</title>
      <link>https://community.checkpoint.com/t5/General-Topics/How-to-View-Deleted-Rules-Objects-on-the-Firewall/m-p/137897#M24582</link>
      <description>&lt;P&gt;&lt;A href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk166435" target="_self"&gt;&lt;SPAN&gt;sk166435 -&amp;nbsp;How to view changes performed between revisions&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jan 2022 21:37:38 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/How-to-View-Deleted-Rules-Objects-on-the-Firewall/m-p/137897#M24582</guid>
      <dc:creator>Danny</dc:creator>
      <dc:date>2022-01-06T21:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to View Deleted Rules/Objects on the Firewall?</title>
      <link>https://community.checkpoint.com/t5/General-Topics/How-to-View-Deleted-Rules-Objects-on-the-Firewall/m-p/137906#M24587</link>
      <description>&lt;P&gt;You should see the changes in Smart Dashboard &amp;gt; Security Policies &amp;gt; Access Tools &amp;gt; Installation History. You can click in the history on "View installed changes" and can expand the audit logs, which gives you a more detailed view.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jan 2022 07:21:09 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/How-to-View-Deleted-Rules-Objects-on-the-Firewall/m-p/137906#M24587</guid>
      <dc:creator>Swordfish</dc:creator>
      <dc:date>2022-01-07T07:21:09Z</dc:date>
    </item>
  </channel>
</rss>

