We publish release notes in Confluence and attach software releases directly into the page. Sometimes a page ends up containing multiple versions of the software but only the latest release is being referenced (because developers forgot to delete the old attachments). There should be a way to detect "orphaned" attachments that are not referenced by any page across all of Confluence similar to how we can detect "orphaned" pages. I acknowledge the fact that some attachments may be accessed by external websites (and so shouldn't be removed) but in our case this is not the case and I suspect in most cases attachments that are not referenced on Confluence really are orphans. List these out for users and they will pick and choose which ones to delete.