Problem: I use a intrusion detection software (IDS) on my systems. My “automatic update” involves: 1) check system integrity, 2) run apt, and 3) update the integrity databases. Of course, this is scheduled via cron, the results are sent elsewhere, etc. The automatic refresh of snaps throws a not-insignificant wrench into the above workflow.
Question: I do not see a way to run scripts before and after refreshes. Am I missing something?
Proposal: Assuming I am missing nothing, could such a feature be added? I think it would be fairly simple to do and would really help me use snaps and still monitor the integrity of my systems while meeting the desire of the snap developers to encourage frequent updates.