Open jcamu opened 3 years ago
Hello @jcamu, subscriptions are managed separately from the images themselves. That lets us add subscriptions even before an image is in the system, so that subscribed events are notified as the image makes it through the system. So to answer your question, there is no option to automatically remove all subscription on image deletion.
anchore-engine does not mirror the registry state. The watcher is an async task that keys off of the subscriptions to track new artifacts (images or tags depending on the subscription type). It's a convenience mechanism to add new artifacts to anchore-engine as they are available in the registry without the user having to manually add them. But it does not reconcile the state of the system with the registry
Let us know if you have any other questions.
Hello,
Is there an option to delete all subscriptions linked when we remove images from anchore?
Other questions, if we purge/delete images from our remote Container Registry, the analyzed images, subscriptions will also be deleted thanks to watcher, or did we need to manually delete them?
Thanks.
Regards,