BIG-RAT / Prune

Remove unused items from your Jamf server
MIT License
163 stars 9 forks source link

Packages in Patch Management are listed as unused #42

Closed randomName0815 closed 10 months ago

randomName0815 commented 11 months ago

the patch policies are skipped according to the log and therefore many packages are listed although they are in use there. It is probably due to the recent changes in the Jamf API, luckily we noticed it quickly.

Is there a patch planned or already in development?

Btw. thanks a lot for this great tool !

BIG-RAT commented 11 months ago

Thanks for the heads up. Fear this one is on me as it looks like v3.0.2 scans patch policies.
Now to track it down...

BIG-RAT commented 11 months ago

Give v3.1.1 a try and let me know how things look as time permits.

randomName0815 commented 11 months ago

Hi, I just tested the 3.1.1 and it works at least partially. I guess only one patch policy is scanned and the version is filtered out (or is it now based on the definitions again?). Example: For VLC Player version 3.0.18 is still shown as unused package, which is still active in a second patch policy. Bildschirmfoto 2023-10-16 um 09 28 39

BIG-RAT commented 11 months ago

Thanks for the info - time to do more digging.

BIG-RAT commented 10 months ago

Give v3.1.2-b2 a run. Should pick up all the packages within a patch policy.

randomName0815 commented 10 months ago

Hi, looks good, with the new beta I no longer see anything unexpected, thank you