-
Notifications
You must be signed in to change notification settings - Fork 60
Description
We have created two container registries under one subscription for which we have already configured a reader role assigned service principle.
Post running the script we are seeing below result where the script is only identifying the already onboarded Registries on Prisma cloud but unable to pick the new one from Azure. Please find the below output after script is run. The filtering all discovered registries is empty.
root@aks-agentpool-67258545-vmss000000:/# python3 test.py
API - Getting all cloud discovered assets ...[{'credentialId': 'ACR-auto-Onboarding-Test', 'provider': 'azure', 'serviceType': 'azure-aks', 'region': 'northeurope', 'defended': 0, 'total': 2, 'collections': ['All', 'Resources collection 1'], 'accountID': 'xxxx', 'agentless': True, 'nodes': 2, 'accountName': 'ACR-auto-Onboarding-Test', 'undefended': 2, 'defenseCoverage': 0}, {'credentialId': 'ACR-auto-Onboarding-Test', 'provider': 'azure', 'serviceType': 'azure-vm', 'region': 'northeurope', 'defended': 0, 'total': 3, 'collections': ['All', 'Resources collection 1'], 'accountID': 'xxxx', 'agentless': True, 'nodes': 0, 'accountName': 'ACR-auto-Onboarding-Test', 'undefended': 3, 'defenseCoverage': 0}]
Success.
API - Getting all cloud discovered assets ... Success.
INFO - Filtering all discovered registries ...[]
Success.
INFO - Discovered registries ... 0
API - Getting all configured registries ... Success.
INFO - Configured registries ... 91
INFO - No registries to add.