Skip to main content

onboard-defender-cli

Install, authenticate, and verify the Defender CLI (`defender`) on the local machine. Downloads the standalone binary to `~/.mdc/`, verifies the install script's Authenticode signature on Windows, adds the binary to PATH, installs the bundled agent skills, and authenticates to the ASPM API via an interactive `az login` (Azure CLI). Use when the `defender` command is missing or out of date, when the user has never authenticated, or when a user explicitly asks to install/onboard/set up/authenticate the Defender CLI. Triggers: "install defender cli", "onboard defender cli", "set up defender cli", "defender not found", "defender: command not found", "install aspm cli", "download defender cli", "InstallCli.ps1", "get defender cli", "defender auth", "defender login", "authenticate defender", "set up defender auth".

Jump to install

Source facts

Repository
microsoft/security-devops-common
Last source activity
August 6, 2026 at 08:07
Detected SKILL.md language
English
Stars
7
Forks
5

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.