CPUG

The Check Point User Group

A Resource For The Check Point Community.  Fast.  Useful.  Independent.

1. Come to CPUG CON 2008 EUROPE in Switzerland on September 8th - 9th!
    Two days full of technical content for Check Point administrators in the beautiful Swiss Alps!
    We already have sign-ups from twelve different countries!
2. CCSA/CCSE One-Week Dual-Certification Training Course with CPUG in San Francisco!
    Courses Starting 7/14, 8/25, 10/6, 11/3, 12/8, (2009) 1/19, 2/9, 3/9, 4/6, 5/4, 6/8.
3. Corrent S3500 SecureXL Turbocards For Sale - Last Six Remaining - Get Your Spares!
4. Join Us On LinkedIn - We now have a CPUG group.


Go Back   CPUG: The Check Point User Group > Check Point Firewall-1/VPN-1 And Related Products > Miscellaneous
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 2008-04-06
reticent reticent is offline
Junior Member
 
Join Date: 2006-09-25
Posts: 3
Rep Power: 0
reticent has an average reputation (10+)
Default checking whether objects are in use?

Hey Guys,

A colleague wrote a script to pull out a list of unused objects from our firewall managers. I have a list of several hundred hosts (ouch!) thare are no longer being used within any rulebases. Rather than just scripting up dbedit to delete those hosts I wan't to double check they _really_ aren't being used. Short of doing a right click, where used on each of the objects is there a better way to check if objects are being used?

I was hoping there would be something like dbedit that's able to check whether hosts are being used?

Cheers,

Stew
Reply With Quote
  #2 (permalink)  
Old 2008-04-06
Thorpuse Thorpuse is offline
Senior Member
 
Join Date: 2007-07-16
Posts: 324
Rep Power: 1
Thorpuse has an average reputation (10+)
Default Re: checking whether objects are in use?

In SmartDashboard -

Search/Query Network Objects/ Filter by Unused Objects.

This is one of those little tools that people don't realise is there, but is extremely useful. Note that "used" can mean used in a saved policy or as a member of a group, so if you've got unused groups, you'll need to delete the group and then re-run the query. The good thing here is that you can delete objects from within the query window, and things like "Select All" work... :)

HTH,
Reply With Quote
  #3 (permalink)  
Old 2008-04-08
reticent reticent is offline
Junior Member
 
Join Date: 2006-09-25
Posts: 3
Rep Power: 0
reticent has an average reputation (10+)
Default Re: checking whether objects are in use?

Thanks a lot, that's exactly what I was after. I'll give it a crack this weekend - here's hoping the objects that it determines to be unused, are in fact unused :) I guess it's a wise idea to create a database revision before I do my mass delete.

On a similar topic, is there a way to check if users are not within a rule or a group used in a rule? You can't do the regular right click 'where used' on them so I'm guess it's going to be more difficult.

Thanks,

Stew
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 01:46.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.0.0