appsec

package
v1.60.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 8, 2024 License: Apache-2.0, BSD-3-Clause, Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddWAFEventListener

func AddWAFEventListener(fn wafEventListener)

AddWAFEventListener adds a new WAF event listener to be registered whenever a new root operation is created. The normal way to use this is to call it from a `func init() {}` so that it is guaranteed to have happened before any listened to event may be emitted.

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(opts ...config.StartOption)

Start AppSec when enabled is enabled by both using the appsec build tag and setting the environment variable DD_APPSEC_ENABLED to true.

func Stop

func Stop()

Stop AppSec.

Types

This section is empty.

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.
Package emitter provides functions and types used to instrument go libraries to integrate them with Datadog AppSec features.
Package emitter provides functions and types used to instrument go libraries to integrate them with Datadog AppSec features.
Package listener provides functions and types used to listen to AppSec instrumentation events produced by code usintrumented using the functions and types found in gopkg.in/DataDog/dd-trace-go.v1/internal/appsec/emitter.
Package listener provides functions and types used to listen to AppSec instrumentation events produced by code usintrumented using the functions and types found in gopkg.in/DataDog/dd-trace-go.v1/internal/appsec/emitter.
Package trace provides functions to annotate trace spans with AppSec related information.
Package trace provides functions to annotate trace spans with AppSec related information.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL