8.1.2.1 Ensure Microsoft Defender for APIs is set to 'On'

Information

Microsoft Defender for APIs offers full lifecycle protection, detection, and response coverage for APIs.

While an automated assessment procedure exists for this recommendation, the assessment status remains manual. Due to its potentially high cost, Microsoft Defender for APIs may not be suitable for all environments and should be evaluated carefully before implementation.

Microsoft Defender for APIs helps provide visibility into business-critical APIs, assess and improve their security posture, prioritize vulnerability remediation, and detect threats in real time.

Solution

Remediate from Azure Portal

- Go to Microsoft Defender for Cloud.
- Under Management, click Environment settings.
- Click the name of a subscription.
- Select the Defender plans blade.
- Under Cloud Workload Protection (CWP), in the row for APIs, set the toggle switch for Status to On.
- Select a plan.
- Click Save to save the plan selection.
- Click Save to enable Defender for APIs.

Remediate from Azure CLI

Run the following command to enable Defender for APIs:

az security pricing create --name Api --tier Standard --subplan <subplan>

Valid subplan values: P1, P2, P3, P4, and P5.

Remediate from PowerShell

Run the following command to enable Defender for APIs:

Set-AzSecurityPricing -Name Api -PricingTier Standard -SubPlan <subplan>

Valid SubPlan values: P1, P2, P3, P4, and P5.

Impact:

Microsoft Defender for APIs uses a tiered pricing model, billed per subscription per hour, with each tier allowing a set limit of API calls. In high-traffic environments, this may result in significant or prohibitive costs. Careful evaluation of API usage patterns and pricing tiers is essential before enabling the service. Refer to https://azure.microsoft.com/en-us/pricing/details/defender-for-cloud/#pricing for pricing information.

See Also

https://workbench.cisecurity.org/benchmarks/21611

Item Details

Category: SECURITY ASSESSMENT AND AUTHORIZATION, RISK ASSESSMENT

References: 800-53|CA-5, 800-53|RA-1, 800-53|RA-5, CSCv7|18.8

Plugin: microsoft_azure

Control ID: f8ea62ca7ec3d2dddc1effae3890a98e722d339b04a450eade637b2dc3fc66e6