Skip to content

Commit c2cf5f1

Browse files
authored
Merge pull request #226307 from dlepow/patch-173
Update api-management-debug-policies.md
2 parents 6b183c3 + 50d6bfe commit c2cf5f1

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

articles/api-management/api-management-debug-policies.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,11 @@ This article describes how to debug API Management policies using the [Azure API
3030

3131
## Restrictions and limitations
3232

33-
This feature is only available in the Developer tier of API Management. Each API Management instance supports only one concurrent debugging session.
33+
* This feature is only available in the **Developer** tier of API Management. Each API Management instance supports only one concurrent debugging session.
34+
35+
* This feature uses the built-in (service-level) all-access subscription for debugging. The [**Allow tracing**](api-management-howto-api-inspector.md#verify-allow-tracing-setting) setting must be enabled in this subscription.
36+
37+
[!INCLUDE [api-management-tracing-alert](../../includes/api-management-tracing-alert.md)]
3438

3539
## Initiate a debugging session
3640

articles/api-management/trace-policy.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ The `trace` policy adds a custom trace into the request tracing output in the te
1818
- The policy adds a property in the log entry when [resource logs](./api-management-howto-use-azure-monitor.md#resource-logs) are enabled and the severity level specified in the policy is at or higher than the verbosity level specified in the diagnostic setting.
1919
- The policy is not affected by Application Insights sampling. All invocations of the policy will be logged.
2020

21+
[!INCLUDE [api-management-tracing-alert](../../includes/api-management-tracing-alert.md)]
22+
2123
[!INCLUDE [api-management-policy-generic-alert](../../includes/api-management-policy-generic-alert.md)]
2224

2325
## Policy statement

includes/api-management-tracing-alert.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@ ms.date: 08/03/2022
66
ms.author: danlep
77
---
88
> [!WARNING]
9-
> Only allow tracing on subscriptions intended for debugging purposes. Sharing subscription keys with tracing allowed with unauthorized users could lead to disclosure of sensitive information contained in tracing logs such as keys, access tokens, passwords, internal hostnames, and IP addresses.
9+
> * Only allow tracing on subscriptions intended for debugging purposes. Sharing subscription keys with tracing allowed with unauthorized users could lead to disclosure of sensitive information contained in tracing logs such as keys, access tokens, passwords, internal hostnames, and IP addresses.
10+
> * API Management automatically disables tracing 1 hour after it's enabled on a subscription.
1011

0 commit comments

Comments
 (0)