config

package
v2.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2026 License: MIT Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	Key = "security"
	// The profile is audited on its own as a server starts
	Startup = Key + ".audit_on_start"
	// How often a running server audits the profile again, only at its start for zero
	Interval = Key + ".audit_interval"
	// Least severity of a finding the person is told of without opening the audit, or never
	Notify = Key + ".notify"
	// Checks the audit never runs, each by its name or the start of names before a dot
	Skip = Key + ".skip"
	// Findings the person looked at and chose to keep, by their ids, which count for nothing
	Dismissed = Key + ".dismissed"
)
View Source
const Never = "never"

Value of Notify that tells the person of nothing

Variables

This section is empty.

Functions

func Register

func Register(cfg *config.Config, checks func(values *config.Config) []config.Option)

Registers the settings of the audit, the checks it may skip read from the checks the profile has

Types

This section is empty.

Jump to

Keyboard shortcuts

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