Request for classic confinement: software-inventory-exporter

I think there have been similar requests in the past - e.g. Manual review of cvescan - so I wonder if this can be achieved via some judicious use of system-files?