Manu
Manu

Reputation: 351

How to get details of user who Pushed an Image in to Azure Container Registry

Is there a way to get details of Users who pushed an Image in to Azure Container Registry (ACR). We have enabled RBAC and integrated the ACR with Azure Active Directory. When I go to a repository and see the details of Image, it currently does not show information like who pushed the image to ACR.

Upvotes: 1

Views: 1111

Answers (1)

Charles Xu
Charles Xu

Reputation: 31454

Unfortunately, the ACR does not store the people who pushed the images. You can only see the messages that when you create the repository and when you update it. You can use the CLI command az acr repository show --repository repo_name and it's output like this:

enter image description here

ACR does not care about who pushes the images, if someone has the permission, then he can do it. The ACR is a private docker registry, so I recommend that it's better for you to control the permissions of the ACR then record the messages who pushed the images. You can control the permissions following the steps here.

Upvotes: 1

Related Questions