new interface to list snaps (snapd-observe)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
New
|
Undecided
|
Unassigned |
Bug Description
In the current project that I'm working, I need to list snaps that are installed in a machine. The task looks simple, but in order to use "snap list" it needs to be classic confinement. Another possibility is using the snapd-control interface, but using it just to list the available snaps is quite an overreach in terms of privileges.
During a store-request[0] it was said that it's possible to hack by accessing the content of /var/lib/
I think it would be good having a new interface like snapd-observe where it's possible to get information, but it's not able to remove, install snaps and etc.
Thanks