AntiSSRFPolicy.requiredHeaders Property

Definition

A read-only array of headers that are required to be present in outgoing requests.

requiredHeaders: readonly string[] { get; }

Both requiredHeaders and deniedHeaders are considered when validating a request. If any header is in both lists, the request will always be blocked.

Property Value

readonly string[]

A read-only array of header names that are required by the policy.


Copyright © 2026 Microsoft Corporation. Distributed under the MIT license.