Attacks and Exploits
A tester holds valid credentials for a client's Azure subscription and must list role assignments using a tool Microsoft provides, avoiding third-party software. Which tool fits?
Show the answer
Correct answerA. Azure CLI
AWhy this is right: Azure CLI is Microsoft's native tool and can query role assignments in an Azure subscription.
BWhy not this: Kube-hunter is a third-party tool that probes Kubernetes clusters, not a Microsoft tool for role assignments.
CWhy not this: ScoutSuite supports Azure but is a third-party auditing tool, which the stem rules out.
DWhy not this: AWS CLI is a native vendor tool, but for Amazon Web Services, so it cannot query an Azure subscription.
Azure CLI is Microsoft's own command-line tool and can list role assignments in a subscription. AWS CLI is also a vendor tool, but it manages Amazon's platform, not Azure.