Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The script is unable to pick the Azure container registries deployed on the subscription #150

Open
aditya-mnscorp opened this issue Jun 14, 2023 · 1 comment

Comments

@aditya-mnscorp
Copy link

aditya-mnscorp commented Jun 14, 2023

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.

@welcome-to-palo-alto-networks

🎉 Thanks for opening your first issue here! Welcome to the community!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant