Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Sokre
Participant

Checking for usage of global objects in local policies

Hello,

I'm looking for best way to check which global domain objects are actually used in any local policy.

Of course, without selecting each object and selecting Where-used option.

Alternatively, it would be also useful to which global objects are not used anywhere, so they can be deleted.

Any recommendations?

Thank you!

0 Kudos
3 Replies
PhoneBoy
Admin
Admin

This could be done by writing a script that calls the where-used API. 
If it's not used anywhere, it could be deleted.

Sokre
Participant

Thanks. 

No option to filter out unused objects in Smart Console?

0 Kudos
Bob_Zimmerman
MVP Gold
MVP Gold

Not directly. The Global domain doesn't know about the CMAs.

The easiest way would probably be what PhoneBoy suggested: make a script to log in to the Global domain and get all of the objects, log in to each CMA, and call where-used for all of the objects learned from the Global domain. Shouldn't be terribly complicated to write, but I don't have the time to do it myself at the moment.

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events