Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Azure API Management include WAF functionality?

I'm trying to understand whether the Azure API Management suite includes any WAF functionality (as described by OWASP for example) within its Security or Policy settings.

If "no" or "don't" know does it make sense to front public-facing APIs (that handle PII), exposed via the Azure API Management with a Web Application Firewall (WAF), or anywhere else in the Cloud -> APIM -> VPN -> Firewall -> On-Premise services topology?

Thanks in advance

like image 634
Bex Bissell Avatar asked Mar 07 '16 14:03

Bex Bissell


People also ask

What can API management do with WAF?

Based on this list of WAF capabilities, API Management can do some of these things out of the box, many could be implemented using custom policies and some of these things cannot be done. Policies can manipulate HTTP requests and responses. However they cannot function at a level lower than this.

How do I configure WAF for my Azure application gateway?

When you create an Azure Application Gateway with either the WAF or the WAF_v2 SKU, you will see a new item on the menu blade called "Web application firewall" that displays WAF configuration options. The biggest drawback of using WAF config is that not all WAF settings are displayed in the portal UI.

What are the Azure-Managed rulesets for Azure WAF?

The Azure-managed rulesets for Azure WAF on Azure Application Gateway and Azure Front Door are based on OWASP ModSecurity Core Rule Set (CRS). This set of rules protect your web applications against most top 10 OWASP web application security threats, such as SQL injection and cross-site scripting.

What is the Azure security basis for API management?

This security baseline applies guidance from the Azure Security Benchmark version 3.0 to API Management. The Azure Security Benchmark provides recommendations on how you can secure your cloud solutions on Azure.


2 Answers

You can make your API Management Service private inside a subnet and put App Gateway with WAF in front of it. The tricky part is that this is available only in the Premium plan for API Management.

However, since ultimately you want to protect your application not the APIMS from attacks like SQL injection, you can put AppGateway+WAF between APIMS and your application. At the same time AppGateway will be your Load Balancer.

SSL and end-to-end encryption will need some attention.

like image 140
Piotr Gwiazda Avatar answered Sep 19 '22 00:09

Piotr Gwiazda


Its best to have a separate WAF module on top of your APIMS.

APIMS <-> WAF <-> LB

API abusing is trending these days .I think WAF protection inbuilt to many cloud providers are basically in its infantry stage . Better to use some dedicated WAF modules

like image 42
Vaisakh Avatar answered Sep 18 '22 00:09

Vaisakh