I am attempting to use az security assessment as described here, Azure Security Module
When I attempt to use it I see:
~$ az security assessment
az security: 'assessment' is not in the 'az security' command group. See 'az security --help'. If the command is from an extension, please make sure the corresponding extension is installed. To learn more about extensions, please visit https://docs.micro
soft.com/en-us/cli/azure/azure-cli-extensions-overview
I have looked at that page, and while it tells me how to generally install extensions, nowhere can I find how to install whatever extension the assessment module might be in.
Has anyone used this and can point me in the right direction for getting it installed? I've looked at the list-available and nothing stands out as a security assessment.
Thanks for that. I am using az cli on WSL. I'm not looking to use powershell. However I am using: ``` "azure-cli": "2.6.0", ``` I didn't see an update when I tried to update it, but i'll look deeper into that.
@JasonShive, this command works on cli also. I just prefer Powershell, that's why put up that snippet. Check my updated snippet.
Giving you the W on this because it was your version info that sealed the deal. I upgraded and the command is now available.