status

package
v2.12.0-dev.3 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2026 License: Apache-2.0, BSD-3-Clause, Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package status exposes whether AppSec has ever been enabled. This allows the profiler to conservatively determine whether CPU profiles may contain AppSec goroutine pprof labels without depending on the full AppSec implementation. The monotonic signal intentionally favors simplicity over coordinating an exact status across AppSec lifecycle transitions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EverEnabled

func EverEnabled() bool

EverEnabled reports whether AppSec has been enabled at least once during the lifetime of the process. Once true, it remains true even if AppSec stops or is remotely deactivated because goroutine pprof labels added while it was enabled may still be present.

func MarkEnabled

func MarkEnabled()

MarkEnabled records that AppSec has been enabled.

Types

This section is empty.

Jump to

Keyboard shortcuts

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