Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Enabled ¶
func Enabled() bool
Enabled returns true when AppSec is up and running. Meaning that the appsec build tag is enabled, the env var DD_APPSEC_ENABLED is set to true, and the tracer is started.
func Start ¶
func Start(...StartOption)
Start AppSec when enabled by both using the appsec build tag and setting the environment variable DD_APPSEC_ENABLED to true.
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
Config is the AppSec configuration.
type ObfuscatorConfig ¶
ObfuscatorConfig wraps the key and value regexp to be passed to the WAF to perform obfuscation.
type StartOption ¶
type StartOption func(c *Config)
StartOption is used to customize the AppSec configuration when invoked with appsec.Start()
func WithRCConfig ¶
func WithRCConfig(cfg remoteconfig.ClientConfig) StartOption
WithRCConfig sets the AppSec remote config client configuration to the specified cfg
Directories ¶
Path | Synopsis |
---|---|
Package dyngo is the Go implementation of Datadog's Instrumentation Gateway which provides an event-based instrumentation API based on a stack representation of instrumented functions along with nested event listeners.
|
Package dyngo is the Go implementation of Datadog's Instrumentation Gateway which provides an event-based instrumentation API based on a stack representation of instrumented functions along with nested event listeners. |
instrumentation
Package instrumentation holds code commonly used between all instrumentation declinations (currently httpsec/grpcsec).
|
Package instrumentation holds code commonly used between all instrumentation declinations (currently httpsec/grpcsec). |
instrumentation/grpcsec
Package grpcsec is the gRPC instrumentation API and contract for AppSec defining an abstract run-time representation of gRPC handlers.
|
Package grpcsec is the gRPC instrumentation API and contract for AppSec defining an abstract run-time representation of gRPC handlers. |
instrumentation/httpsec
Package httpsec defines is the HTTP instrumentation API and contract for AppSec.
|
Package httpsec defines is the HTTP instrumentation API and contract for AppSec. |
include
Package include is required to help go tools support vendoring.
|
Package include is required to help go tools support vendoring. |
lib/darwin-amd64
Package vendor is required to help go tools support vendoring.
|
Package vendor is required to help go tools support vendoring. |
lib/darwin-arm64
Package vendor is required to help go tools support vendoring.
|
Package vendor is required to help go tools support vendoring. |
lib/linux-amd64
Package vendor is required to help go tools support vendoring.
|
Package vendor is required to help go tools support vendoring. |
lib/linux-arm64
Package vendor is required to help go tools support vendoring.
|
Package vendor is required to help go tools support vendoring. |
Click to show internal directories.
Click to hide internal directories.