Documentation
¶
Overview ¶
Package common contains common utilities that are shared among other packages.
Index ¶
Constants ¶
View Source
const ShowErrorDetailsEnv = "XRAYR_SHOW_ERROR_DETAILS"
Variables ¶
This section is empty.
Functions ¶
func SafeCompileRegex ¶
SafeCompileRegex compiles a regex pattern with safety checks against catastrophic backtracking (ReDoS). It validates the parsed syntax tree depth and rejects overly long patterns.
func SetShowErrorDetails ¶
func SetShowErrorDetails(enabled bool)
func ShowErrorDetails ¶
func ShowErrorDetails() bool
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package limiter is to control the links that go into the dispatcher
|
Package limiter is to control the links that go into the dispatcher |
|
Package rule controls audit-rule matching and result draining.
|
Package rule controls audit-rule matching and result draining. |
Click to show internal directories.
Click to hide internal directories.