PSRule.Rules.Azure icon indicating copy to clipboard operation
PSRule.Rules.Azure copied to clipboard

Container registry soft-delete

Open BernieWhite opened this issue 3 years ago • 2 comments

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

CARML Update Docs Azure deployment reference

BernieWhite avatar Sep 20 '22 03:09 BernieWhite

@BernieWhite

Are you already working with this one? If not, I'd like to give it a try.

This is great news.

BenjaminEngeset avatar Sep 21 '22 19:09 BenjaminEngeset

@bengeset96 No. Feel free to pick this one up.

BernieWhite avatar Sep 21 '22 23:09 BernieWhite