Cis Azure Foundations 8.1.6.1
DevOps & Securitycis-azure-foundations-8.1.6.1Cis Azure Foundations 8.1.6.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 App Services 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.6.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-6-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.6.1 Ensure That Microsoft Defender for App Services Is Set To 'On' (Automated)
Description
Turning on Microsoft Defender for App Service enables threat detection for App Service, providing threat intelligence, anomaly detection, and behavior analytics in the Microsoft Defender for Cloud.
Rationale
Enabling Microsoft Defender for App Service allows for greater defense-in-depth, with threat detection provided by the Microsoft Security Response Center (MSRC).
Impact
Turning on Microsoft Defender for App Service incurs an additional cost per resource.
Audit Procedure
From Azure Portal:
- Go to
Microsoft Defender for Cloud. - Under
Management, selectEnvironment Settings. - Click the subscription name.
- Select
Defender plans. - Ensure Status is
OnforApp Service.
From Azure CLI:
az security pricing show -n AppServices
Ensure -PricingTier is set to Standard.
From PowerShell:
Get-AzSecurityPricing -Name 'AppServices' | Select-Object Name,PricingTier
Ensure the -PricingTier is set to Standard.
From Azure Policy:
- Policy ID:
2913021d-f2fd-4f3d-b958-22354e2bdbcb- Name: 'Azure Defender for App Service should be enabled'
Expected Result
The pricing tier for AppServices should be Standard.
Remediation
From Azure Portal:
- Go to
Microsoft Defender for Cloud. - Under
Management, selectEnvironment Settings. - Click the subscription name.
- Select
Defender plans. - Set
App ServiceStatus toOn. - Select
Save.
From Azure CLI:
az security pricing create -n Appservices --tier 'standard'
From PowerShell:
Set-AzSecurityPricing -Name "AppServices" -PricingTier "Standard"
Default Value
By default, Microsoft Defender plan is off.
References
- https://learn.microsoft.com/en-us/azure/defender-for-cloud/alerts-overview
- https://learn.microsoft.com/en-us/rest/api/defenderforcloud/pricings/list
- https://learn.microsoft.com/en-us/rest/api/defenderforcloud/pricings/update
- https://learn.microsoft.com/en-us/powershell/module/az.security/get-azsecuritypricing
Profile
- Level 2