BIG-RAT / Prune

Remove unused items from your Jamf server
MIT License
167 stars 10 forks source link

Advanced searches not picked up as dependencies #26

Open FennaT opened 2 years ago

FennaT commented 2 years ago

When running Prune against Computer Groups it will list groups as unused even when they have an advanced search as a dependency. This also happens for bookmarks that are scoped using a smart group.

I understand it is not best practice to use smart groups in advanced searches, as calculations can instead be done in the search directly. However, we do have historic use of this sadly.

It does not pose a significant issue, although Prune will display a message at the end stating "X items could not be deleted", which may cause confusion.

BIG-RAT commented 1 year ago

Check v2.3.0, hope that meets your needs. Bookmarks aren't available via the API, suggest making a feature request (ideas.jamf.com) to add a bookmarks API endpoint.

TobyFenna commented 1 year ago

It does indeed. Thanks for actioning this! Good shout, I'll put an FR in.

FennaT commented 1 year ago

One has previously been raised, way back in 2018, but sadly still no action: https://ideas.jamf.com/ideas/JN-I-17187

Anyone reading, go give it some love, please 👍