Skip to content
@guardcore
Search
Ctrl
K
Cancel
GitHub
Select theme
Dark
Light
Auto
Getting Started
Introduction
Installation
Quick Start
Examples
Configuration
SecurityConfig
Security Headers
Rate Limiting
Detection Engine
Adapters
Express
Fastify
NestJS
Hono
Decorators
Overview
Access Control
Authentication
Rate Limiting
Behavioral
Content Filtering
Advanced
Architecture
Overview
Security Pipeline
Protocols
Handlers
Reference
Detection Patterns
Redis Key Patterns
API Reference
core/src
Classes
BaseSecurityDecorator
BehavioralProcessor
BehaviorRule
BehaviorTracker
BypassHandler
CloudHandler
CompositeAgentHandler
ContentPreprocessor
DynamicRuleManager
ErrorResponseFactory
EventEnricher
EventFilter
GuardCoreError
GuardRedisError
InMemoryCloudIpStore
IPBanManager
IPInfoManager
JsonFormatter
LogfireHandler
MetricsCollector
NodeUpgradeGuardRequest
OtelHandler
PatternCompiler
PerformanceMonitor
RateLimitManager
RedisCloudIpStore
RedisManager
RequestValidator
RouteConfig
RouteConfigResolver
SecurityCheckPipeline
SecurityEventBus
SecurityHeadersManager
SemanticAnalyzer
SusPatternsManager
Interfaces
AgentEventEnricher
AgentHandlerProtocol
BehaviorCounter
BoundedBodyReaderDeps
CloudIpStoreProtocol
CustomLoggingOptions
DynamicRuleMatcher
EnrichableEvent
EnrichableMetric
EnrichmentContext
GeoIPHandler
GuardMiddlewareProtocol
GuardRequest
GuardRequestState
GuardResponse
GuardResponseFactory
HandlerRegistry
IpAccessResult
LogfireClient
LogfireHandlerConfig
Logger
LogRecord
NodeWebSocketGuardOptions
OtelHandlerConfig
OtelInstrumentation
OtelTraceContext
PathRouteConfigEntry
PatternReport
PatternStats
PerformanceMetric
RedisHandlerProtocol
ResolvedDetectionExclusions
SecurityAgentConfigInput
SecurityMiddlewareComponents
SemanticAnalysis
ToAgentConfigOptions
WebSocketCloseReason
Type Aliases
BehaviorAction
BehaviorRuleType
CloudIpStoreFactory
DynamicRules
OnBlockHook
OnErrorHook
ResolvedSecurityConfig
SecurityBufferOverflowPolicy
SecurityConfig
SecurityDecorator
SecurityErrorHook
WebSocketGuardVerdict
Variables
BEHAVIOR_CORRELATION_WINDOW_SECONDS
DEFAULT_LOGGER_NAME
DEFAULT_OTEL_SERVICE_NAME
DEFAULT_SENSITIVE_LOG_FIELDS
DEFAULT_SENSITIVE_LOG_HEADERS
DEFAULT_THREAT_SCORE
defaultLogger
DynamicRulesSchema
ENRICHMENT_KEY_BEHAVIOR_KEY
ENRICHMENT_KEY_DEPLOYMENT_ENV
ENRICHMENT_KEY_PROJECT_ID
ENRICHMENT_KEY_RECENT_EVENT_COUNT
ENRICHMENT_KEY_RULE_ID
ENRICHMENT_KEY_RULE_VERSION
ENRICHMENT_KEY_SERVICE_NAME
ENRICHMENT_KEY_THREAT_SCORE
EXCLUDED_HEADERS
METRIC_ERROR_RATE
METRIC_REQUEST_COUNT
METRIC_RESPONSE_TIME
METRIC_TYPE_VALUES
ON_BLOCK_EXCLUDED_CHECK_NAMES
SecurityConfigSchema
SecurityDecorator
THREAT_SCORE_MAP
UNKNOWN_CLIENT_IDENTITY
UNRESOLVED_ROUTE_REASON
WS_CLOSE_CLIENT_ADDRESS_UNKNOWN
WS_CLOSE_IP_BANNED
WS_CLOSE_IP_NOT_ALLOWED
WS_CLOSE_POLICY_VIOLATION
WS_CLOSE_RATE_LIMIT_EXCEEDED
WS_CLOSE_SECURITY_CHECK_FAILED
WS_CLOSE_SUSPICIOUS_ACTIVITY
WS_CLOSE_TRY_AGAIN_LATER
Functions
attachNodeWebSocketGuard
buildBlockPayload
canonicalizeIp
checkIpAccess
checkIpCountry
checkRateLimitByIp
detectPenetrationAttempt
disabledCategoriesOf
extractClientIp
fireBlockHook
formatTextLog
getRouteDecoratorConfig
guardWebSocketUpgrade
initializeSecurityMiddleware
invokeBlockHook
invokeErrorHook
isIpAllowed
isUserAgentAllowed
logActivity
mergeSensitiveNames
normalizeExcludePaths
normalizeUrlPath
parseContentLength
pathIsExcluded
pathMatchesExclusions
readCappedBody
redactBlobForDisplay
redactEndpointForDisplay
redactHeaderValueForDisplay
redactPairsInText
redactUrlForDisplay
resetBodyReadConcurrency
resolveConfiguredLogger
resolveDetectionExclusions
sanitizeForLog
sendAgentEvent
setBodyReadConcurrencyLimit
setupCustomLogging
straddleOverlapBytes
threatScoreFor
toAgentConfig
express/src
Classes
ExpressGuardRequest
ExpressGuardResponse
ExpressResponseFactory
Interfaces
GuardMiddlewareSurface
ResolvedAgentHandler
SecurityMiddlewareOptions
Variables
DEFAULT_STATUS_PATH
Functions
addStatusRoute
configureCors
createSecurityMiddleware
guardBodyParser
guardUrlEncodedParser
resolveAgentHandler
resolveExpressEndpointId
resolveExpressRouteId
sendGuardResponse
References
attachWebSocketGuard
BaseSecurityDecorator
BehaviorRule
defaultLogger
GuardRequest
GuardResponse
HandlerRegistry
Logger
NodeUpgradeGuardRequest
PathRouteConfigEntry
ResolvedSecurityConfig
RouteConfig
SecurityConfig
SecurityConfigSchema
SecurityDecorator
SecurityMiddlewareComponents
WebSocketGuardOptions
fastify/src
Classes
FastifyGuardRequest
FastifyGuardResponse
FastifyResponseFactory
Interfaces
GuardPluginOptions
GuardSurface
ResolvedAgentHandler
Variables
guardPlugin
Functions
configureCors
resolveAgentHandler
References
attachWebSocketGuard
BaseSecurityDecorator
BehaviorRule
defaultLogger
GuardRequest
GuardResponse
Logger
NodeUpgradeGuardRequest
PathRouteConfigEntry
ResolvedSecurityConfig
RouteConfig
SecurityConfig
SecurityConfigSchema
SecurityDecorator
WebSocketGuardOptions
hono/src
Classes
HonoGuardRequest
HonoGuardResponse
HonoResponseFactory
Interfaces
GuardMiddlewareOptions
GuardSurface
ResolvedAgentHandler
Functions
configureCors
createGuardMiddleware
resolveAgentHandler
resolveHonoEndpointId
resolveHonoRouteId
References
attachWebSocketGuard
BaseSecurityDecorator
BehaviorRule
defaultLogger
GuardRequest
GuardResponse
Logger
NodeUpgradeGuardRequest
PathRouteConfigEntry
ResolvedSecurityConfig
RouteConfig
SecurityConfig
SecurityConfigSchema
SecurityDecorator
WebSocketGuardOptions
nestjs/src
Classes
GuardModule
NestGuardRequest
NestGuardResponse
NestResponseFactory
SecurityMiddlewareNest
Interfaces
GuardModuleOptions
GuardSurface
ResolvedAgentHandler
Variables
GUARD_MIDDLEWARE_TOKEN
Functions
buildOriginAllowlist
configureCors
resolveAgentHandler
resolveNestEndpointId
resolveNestRouteId
References
attachWebSocketGuard
BaseSecurityDecorator
BehaviorRule
defaultLogger
GuardRequest
GuardResponse
Logger
NodeUpgradeGuardRequest
PathRouteConfigEntry
ResolvedSecurityConfig
RouteConfig
SecurityConfig
SecurityConfigSchema
SecurityDecorator
WebSocketGuardOptions
GitHub
Select theme
Dark
Light
Auto
guardBodyParser
guardBodyParser
():
RequestHandler
Defined in:
packages/express/src/body-parser.ts:4
Returns
Section titled “Returns”
RequestHandler