Skip to content

Commit d38d5c6

Browse files
authored
Merge pull request #50728 from v-thpra/azure-triage-fix-1055074
Technical Review 1055074: Protect your APIs on Azure API Management
2 parents 71e62bd + 3c6a49f commit d38d5c6

17 files changed

+192
-192
lines changed
Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.protect-apis-on-api-management.1-introduction
3-
title: Introduction
4-
metadata:
5-
title: Introduction
6-
description: In this unit, you'll learn about a business scenario that you can solve by using API protection policies in Azure API Management.
7-
ms.date: 08/10/2023
8-
author: dlepow
9-
ms.author: danlep
10-
ms.topic: unit
11-
durationInMinutes: 3
12-
content: |
13-
[!include[](includes/1-introduction.md)]
14-
1+
### YamlMime:ModuleUnit
2+
uid: learn.protect-apis-on-api-management.1-introduction
3+
title: Introduction
4+
metadata:
5+
title: Introduction
6+
description: In this unit, you learn about a business scenario that you can solve by using API protection policies in Azure API Management.
7+
ms.date: 05/30/2025
8+
author: dlepow
9+
ms.author: danlep
10+
ms.topic: unit
11+
durationInMinutes: 3
12+
content: |
13+
[!include[](includes/1-introduction.md)]
14+
Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.protect-apis-on-api-management.2-remove-technical-info
3-
title: Remove technical information from API responses
4-
metadata:
5-
title: Remove technical information from API responses
6-
description: Create an API gateway and remove some of the headers from web API responses.
7-
ms.date: 08/10/2023
8-
author: dlepow
9-
ms.author: danlep
10-
ms.topic: unit
11-
durationInMinutes: 5
12-
content: |
13-
[!include[](includes/2-remove-technical-info.md)]
14-
1+
### YamlMime:ModuleUnit
2+
uid: learn.protect-apis-on-api-management.2-remove-technical-info
3+
title: Remove technical information from API responses
4+
metadata:
5+
title: Remove technical information from API responses
6+
description: Create an API gateway and remove some of the headers from web API responses.
7+
ms.date: 05/30/2025
8+
author: dlepow
9+
ms.author: danlep
10+
ms.topic: unit
11+
durationInMinutes: 5
12+
content: |
13+
[!include[](includes/2-remove-technical-info.md)]
14+
Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.protect-apis-on-api-management.3-exercise-remove-header
3-
title: Exercise - Remove header information
4-
metadata:
5-
title: Exercise - Remove header information
6-
description: In this exercise, you'll add a web API to Azure API Management and then use a policy to control the HTTP headers that the API returns.
7-
ms.date: 08/10/2023
8-
author: dlepow
9-
ms.author: danlep
10-
ms.topic: unit
11-
durationInMinutes: 10
12-
interactive: bash
13-
azureSandbox: false
14-
content: |
15-
[!include[](includes/3-exercise-remove-header.md)]
16-
1+
### YamlMime:ModuleUnit
2+
uid: learn.protect-apis-on-api-management.3-exercise-remove-header
3+
title: Exercise - Remove header information
4+
metadata:
5+
title: Exercise - Remove header information
6+
description: In this exercise, you add a web API to Azure API Management and then use a policy to control the HTTP headers that the API returns.
7+
ms.date: 05/30/2025
8+
author: dlepow
9+
ms.author: danlep
10+
ms.topic: unit
11+
durationInMinutes: 10
12+
interactive: bash
13+
azureSandbox: false
14+
content: |
15+
[!include[](includes/3-exercise-remove-header.md)]
16+
Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.protect-apis-on-api-management.4-hide-url-transformation
3-
title: Mask URLs with a transformation policy
4-
metadata:
5-
title: Mask URLs with a transformation policy
6-
description: In this module, you'll learn about transformation policies and how to use them to modify the content of an API response.
7-
ms.date: 08/10/2023
8-
author: dlepow
9-
ms.author: danlep
10-
ms.topic: unit
11-
durationInMinutes: 5
12-
content: |
13-
[!include[](includes/4-hide-url-transformation.md)]
14-
1+
### YamlMime:ModuleUnit
2+
uid: learn.protect-apis-on-api-management.4-hide-url-transformation
3+
title: Mask URLs with a transformation policy
4+
metadata:
5+
title: Mask URLs with a transformation policy
6+
description: In this module, you learn about transformation policies and how to use them to modify the content of an API response.
7+
ms.date: 05/30/2025
8+
author: dlepow
9+
ms.author: danlep
10+
ms.topic: unit
11+
durationInMinutes: 5
12+
content: |
13+
[!include[](includes/4-hide-url-transformation.md)]
14+
Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.protect-apis-on-api-management.5-exercise-hide-url
3-
title: Exercise - Mask URLs with a transformation policy
4-
metadata:
5-
title: Exercise - Mask URLs with a transformation policy
6-
description: In this module, you use a policy to hide the URL of the hosted URL to ensure that its location is not passed to users.
7-
ms.date: 08/10/2023
8-
author: dlepow
9-
ms.author: danlep
10-
ms.topic: unit
11-
durationInMinutes: 5
12-
azureSandbox: false
13-
content: |
14-
[!include[](includes/5-exercise-hide-url.md)]
15-
1+
### YamlMime:ModuleUnit
2+
uid: learn.protect-apis-on-api-management.5-exercise-hide-url
3+
title: Exercise - Mask URLs with a transformation policy
4+
metadata:
5+
title: Exercise - Mask URLs with a transformation policy
6+
description: In this module, you use a policy to hide the URL of the hosted URL to ensure that its location isn't passed to users.
7+
ms.date: 05/30/2025
8+
author: dlepow
9+
ms.author: danlep
10+
ms.topic: unit
11+
durationInMinutes: 5
12+
azureSandbox: false
13+
content: |
14+
[!include[](includes/5-exercise-hide-url.md)]
15+
Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.protect-apis-on-api-management.6-rate-limit-policy
3-
title: Throttle API requests
4-
metadata:
5-
title: Throttle API requests
6-
description: In this unit, you'll learn about throttling (rate limiting) policies and how to use them to prevent users from overusing resources.
7-
ms.date: 08/11/2023
8-
author: dlepow
9-
ms.author: danlep
10-
ms.topic: unit
11-
durationInMinutes: 7
12-
content: |
13-
[!include[](includes/6-rate-limit-policy.md)]
14-
1+
### YamlMime:ModuleUnit
2+
uid: learn.protect-apis-on-api-management.6-rate-limit-policy
3+
title: Throttle API requests
4+
metadata:
5+
title: Throttle API requests
6+
description: In this unit, you learn about throttling (rate limiting) policies and how to use them to prevent users from overusing resources.
7+
ms.date: 05/30/2025
8+
author: dlepow
9+
ms.author: danlep
10+
ms.topic: unit
11+
durationInMinutes: 7
12+
content: |
13+
[!include[](includes/6-rate-limit-policy.md)]
14+
Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.protect-apis-on-api-management.7-exercise-rate-limit-policy
3-
title: Exercise - Throttle API requests
4-
metadata:
5-
title: Exercise - Throttle API requests
6-
description: In this exercise, you'll set up and test throttling (rate limiting) policies in API Management.
7-
ms.date: 08/10/2023
8-
author: dlepow
9-
ms.author: danlep
10-
ms.topic: unit
11-
durationInMinutes: 5
12-
azureSandbox: false
13-
content: |
14-
[!include[](includes/7-exercise-rate-limit-policy.md)]
15-
1+
### YamlMime:ModuleUnit
2+
uid: learn.protect-apis-on-api-management.7-exercise-rate-limit-policy
3+
title: Exercise - Throttle API requests
4+
metadata:
5+
title: Exercise - Throttle API requests
6+
description: In this exercise, you set up and test throttling (rate limiting) policies in API Management.
7+
ms.date: 05/30/2025
8+
author: dlepow
9+
ms.author: danlep
10+
ms.topic: unit
11+
durationInMinutes: 5
12+
azureSandbox: false
13+
content: |
14+
[!include[](includes/7-exercise-rate-limit-policy.md)]
15+
Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.protect-apis-on-api-management.8-summary
3-
title: Summary
4-
metadata:
5-
title: Summary
6-
description: In this unit, you'll review what you have learned about API Management policies you can use to protect your APIs.
7-
ms.date: 08/10/2023
8-
author: dlepow
9-
ms.author: danlep
10-
ms.topic: unit
11-
durationInMinutes: 3
12-
content: |
13-
[!include[](includes/8-summary.md)]
14-
1+
### YamlMime:ModuleUnit
2+
uid: learn.protect-apis-on-api-management.8-summary
3+
title: Summary
4+
metadata:
5+
title: Summary
6+
description: In this unit, you review what you learned about API Management policies you can use to protect your APIs.
7+
ms.date: 05/30/2025
8+
author: dlepow
9+
ms.author: danlep
10+
ms.topic: unit
11+
durationInMinutes: 3
12+
content: |
13+
[!include[](includes/8-summary.md)]
14+

learn-pr/azure/protect-apis-on-api-management/includes/1-introduction.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
Companies that publish web APIs often need to control the behavior of those APIs without recoding them.
22

3-
Suppose you are the lead developer for a government agency. The agency has created an API to make recent and historical census data available. They want to prevent any unnecessary backend information from being exposed that could be used in malicious attacks. They would also like to prevent abuse of the APIs in the form of a large volume of requests and need a mechanism to throttle requests if they exceed an allowed amount. They are serving their APIs on the Azure API Management service and would like to implement policies to address these concerns.
3+
Suppose you're the lead developer for a government agency. The agency created an API to make recent and historical census data available. They want to prevent any unnecessary backend information from being exposed that could be used in malicious attacks. They would also like to prevent abuse of the APIs in the form of a large volume of requests. They need a mechanism to throttle requests if the requests exceed an allowed amount. They're serving their APIs on the Azure API Management service and would like to implement policies to address these concerns.
44

55
Azure API Management enables a consistent, modern, and secure gateway for all your web APIs. It offers policies to transform API requests and responses through configuration.
66

7-
In this module, you'll create an API gateway to publish a RESTful API. You will remove response headers, replace URLs, and throttle requests to achieve a secure endpoint for clients to communicate with.
7+
In this module, you create an API gateway to publish a RESTful API. Then, you remove response headers, replace URLs, and throttle requests to achieve a secure endpoint for clients to communicate with.
88

99
## Learning objectives
1010

1111
In this module, you will:
1212

13-
- Create an Azure API gateway
14-
- Import a RESTful API into the gateway
15-
- Implement policies to limit unintended information exposure and throttle the requests
16-
- Call an API to test the applied policies
13+
- Create an Azure API gateway.
14+
- Import a RESTful API into the gateway.
15+
- Implement policies to limit unintended information exposure and throttle the requests.
16+
- Test the applied policies by calling an API.
1717

1818
## Prerequisites
1919

learn-pr/azure/protect-apis-on-api-management/includes/2-remove-technical-info.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Any organization that publishes an API needs to make sure that users can access it securely and that malicious users can't successfully attack it.
22

3-
Governments store much personal data regarding citizens. Census data reveals a lot about each citizen, and their life. This data could be exploited to harm people. It is imperative that any data exposed through API endpoints are secured through modern standards.
3+
Governments store much personal data regarding citizens. Census data reveals a lot about each citizen, and their life. This data could be exploited to harm people. It's imperative that any data exposed through API endpoints are secured through modern standards.
44

5-
As the lead developer, you'll look at how to set up a secured API gateway, which will protect the census data from unauthorized access. It will also help protect the endpoints from denial-of-service attacks.
5+
As the lead developer, you look at how to set up a secured API gateway, which protects the census data from unauthorized access. It also helps protect the endpoints from denial-of-service attacks.
66

77
## Azure API Management
88

@@ -24,8 +24,8 @@ In the Census API example, it's important that you remove the following header:
2424

2525
## API Management setup
2626

27-
To set up API Management, you will perform the following tasks:
27+
To set up API Management, perform the following tasks:
2828

29-
- **Create an API Management gateway**. In this step, you create the API Management resource in the Azure portal. You also assign properties to the gateway, such as an FQDN and a pricing tier.
29+
- **Create an API Management gateway**. In this step, you create the API Management resource in the Azure portal. You also assign properties to the gateway, such as a fully qualified domain name (FQDN) and a pricing tier.
3030
- **Register an existing web API with the gateway**. In this step, you add the web API to the gateway. The API already has its own Azure app service host but you must add it to API Management in order to use policies and other API Management tools.
31-
- **Remove a header from the response**. In this step, you will apply a policy that removes an insecure header from all responses.
31+
- **Remove a header from the response**. In this step, you apply a policy that removes an insecure header from all responses.

0 commit comments

Comments
 (0)