PSRule.Rules.Azure
PSRule.Rules.Azure copied to clipboard
Container registry soft-delete
Rule request
Suggested rule change
Currently soft-delete for container registries is a preview feature that keeps deleted artifacts for a soft-delete interval.
Soft-delete allows accidental actions to be recovered to restore a service otherwise relying on the artifacts that have been deleted.
There are a number of limitations with the feature currently. See preview limitations.
As a result, we shouldn't recommend this feature if a retention policy is configured or if we know that the registry is geo-replicated.
Applies to the following
The rule applies to the following:
- Resource type: Microsoft.ContainerRegistry/registries
Additional context
@BernieWhite
Are you already working with this one? If not, I'd like to give it a try.
This is great news.
@bengeset96 No. Feel free to pick this one up.