Hi @Cleber Ramos,
As mentioned here, the quarantine action is currently a preview feature of ACR and will not appear in the list.
You can enable it using REST API as described here, and here are the steps to create a webhook:
- Prepare the webhook with your parameters:
PUT https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook?api-version=2023-01-01-preview
{
"location": "westus",
"tags": {
"key": "value"
},
"properties": {
"serviceUri": "http://myservice.com",
"customHeaders": {
"Authorization": "******"
},
"status": "enabled",
"scope": "myRepository",
"actions": [
"quarantine"
]
}
}
- Navigate to https://resources.azure.com/raw/, and copy the content from step 1
- Highlight the text then press CRTL+s , and the webhook will be created.
5.Here is my quarantine webhook:
Hope this helps, and please "Accept as Answer" if it helped, so that it can help others in the community looking for help on similar topics.