Skip to content

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

@aditya-mnscorp

Description

@aditya-mnscorp

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions