Cis Azure Foundations 8.1.8.1
DevOps & Securitycis-azure-foundations-8.1.8.1Cis Azure Foundations 8.1.8.1 is an Agent Skill for devops & security published in the CyberStrikeus/CyberStrike repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Ensure That Microsoft Defender for Key Vault Is Set To 'On'
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/CyberStrikeus/CyberStrike/blob/HEAD/.cyberstrike/skill/CIS_benchmarks/Cloud_Providers/Microsoft_Azure/CIS_Microsoft_Azure_Foundations_Benchmark_v5.0.0/cis-azure-foundations-8.1.8.1/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/cis-azure-foundations-8-1-8-1, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
8.1.8.1 Ensure That Microsoft Defender for Key Vault Is Set To 'On' (Automated)
Description
Enable Microsoft Defender for Key Vault to provide an additional layer of protection and security intelligence for detecting unusual and potentially harmful attempts to access or exploit Key Vault accounts.
Rationale
Microsoft Defender for Key Vault detects anomalous and potentially harmful access attempts or exploitation of Azure Key Vault. It uses advanced threat detection capabilities and Microsoft Threat Intelligence data to surface contextual security alerts, enabling organizations to identify and respond to threats targeting their secrets, keys, and certificates stored in Key Vault.
Impact
Enabling Microsoft Defender for Key Vault incurs additional costs based on the pricing tier. Organizations should evaluate the number of Key Vault transactions in their environment to estimate costs before enabling the service.
Audit Procedure
From Azure Portal:
- Go to
Microsoft Defender for Cloud. - Under
Management, clickEnvironment settings. - Click the name of a subscription.
- Select the
Defender plansblade. - Locate
Key Vaultin the list and ensure theStatusis set toOn.
From Azure CLI:
az security pricing show -n KeyVaults --query pricingTier
Ensure "Standard" is returned.
From PowerShell:
Get-AzSecurityPricing -Name KeyVaults | Select-Object PricingTier
Ensure Standard is returned.
Expected Result
The pricing tier for KeyVaults should be Standard.
Remediation
From Azure Portal:
- Go to
Microsoft Defender for Cloud. - Under
Management, clickEnvironment settings. - Click the name of a subscription.
- Select the
Defender plansblade. - In the row for
Key Vault, set theStatustoggle toOn. - Click
Save.
From Azure CLI:
az security pricing create -n KeyVaults --tier Standard
From PowerShell:
Set-AzSecurityPricing -Name KeyVaults -PricingTier Standard
Default Value
Microsoft Defender for Key Vault is disabled (Free tier) by default.
References
- https://learn.microsoft.com/en-us/azure/defender-for-cloud/defender-for-key-vault-introduction
- https://learn.microsoft.com/en-us/azure/defender-for-cloud/enable-enhanced-security
- https://azure.microsoft.com/en-us/pricing/details/defender-for-cloud/#pricing
- https://learn.microsoft.com/en-us/cli/azure/security/pricing
- https://learn.microsoft.com/en-us/powershell/module/az.security/set-azsecuritypricing
Profile
- Level 2