Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
HttpRouteParameterRedactionMode Enum
Definition
- Namespace:
- Microsoft.Extensions.Http.Diagnostics
- Assembly:
- Microsoft.Extensions.Telemetry.Abstractions.dll
- Package:
- Microsoft.Extensions.Telemetry.Abstractions v10.7.0
Important
Some information relates to prerelease product that may be substantially modified before itβs released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Strategy to decide how HTTP request path parameters are redacted.
public enum class HttpRouteParameterRedactionMode
public enum HttpRouteParameterRedactionMode
type HttpRouteParameterRedactionMode =
Public Enum HttpRouteParameterRedactionMode
- Inheritance
Fields
| Name | Value | Description |
|---|---|---|
| Strict | 0 | All parameters are considered as sensitive and are required to be explicitly annotated with a data classification. |
| Loose | 1 | All parameters are considered as non-sensitive and included as-is by default. |
| None | 2 | Route parameters are not redacted regardless of the presence of data classification annotations. |
Applies to
Feedback
Was this page helpful?
