boundfetch
Preparing search index...
core/src
SecurityConfig
Interface SecurityConfig
Request hardening controls applied by core before transport and while parsing responses.
interface
SecurityConfig
{
allowBodyOnGetHead
:
boolean
;
allowedHosts
:
string
[]
;
allowedHostSuffixes
:
string
[]
;
allowedPorts
:
number
[]
;
allowHttpLocalhost
:
boolean
;
blockedCidrs
:
string
[]
;
enforceDnsRebindingProtection
:
boolean
;
enforceHttps
:
boolean
;
enforceJsonResponseContentType
:
boolean
;
includeErrorDiagnostics
:
boolean
;
maxRequestBytes
:
number
;
maxResponseBytes
:
number
;
onSecurityEvent
?:
(
event
:
SecurityEvent
)
=>
void
;
redactBodyKeys
:
string
[]
;
redactErrorDetails
:
boolean
;
redactHeaders
:
string
[]
;
validateResolvedIps
:
boolean
;
}
Index
Properties
allow
Body
On
Get
Head
allowed
Hosts
allowed
Host
Suffixes
allowed
Ports
allow
Http
Localhost
blocked
Cidrs
enforce
Dns
Rebinding
Protection
enforce
Https
enforce
Json
Response
Content
Type
include
Error
Diagnostics
max
Request
Bytes
max
Response
Bytes
on
Security
Event?
redact
Body
Keys
redact
Error
Details
redact
Headers
validate
Resolved
Ips
Properties
allow
Body
On
Get
Head
allowBodyOnGetHead
:
boolean
allowed
Hosts
allowedHosts
:
string
[]
allowed
Host
Suffixes
allowedHostSuffixes
:
string
[]
allowed
Ports
allowedPorts
:
number
[]
allow
Http
Localhost
allowHttpLocalhost
:
boolean
blocked
Cidrs
blockedCidrs
:
string
[]
enforce
Dns
Rebinding
Protection
enforceDnsRebindingProtection
:
boolean
enforce
Https
enforceHttps
:
boolean
enforce
Json
Response
Content
Type
enforceJsonResponseContentType
:
boolean
include
Error
Diagnostics
includeErrorDiagnostics
:
boolean
max
Request
Bytes
maxRequestBytes
:
number
max
Response
Bytes
maxResponseBytes
:
number
Optional
on
Security
Event
onSecurityEvent
?:
(
event
:
SecurityEvent
)
=>
void
redact
Body
Keys
redactBodyKeys
:
string
[]
redact
Error
Details
redactErrorDetails
:
boolean
redact
Headers
redactHeaders
:
string
[]
validate
Resolved
Ips
validateResolvedIps
:
boolean
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
allow
Body
On
Get
Head
allowed
Hosts
allowed
Host
Suffixes
allowed
Ports
allow
Http
Localhost
blocked
Cidrs
enforce
Dns
Rebinding
Protection
enforce
Https
enforce
Json
Response
Content
Type
include
Error
Diagnostics
max
Request
Bytes
max
Response
Bytes
on
Security
Event
redact
Body
Keys
redact
Error
Details
redact
Headers
validate
Resolved
Ips
boundfetch
Loading...
Request hardening controls applied by core before transport and while parsing responses.