registry

package
v0.0.0-...-028f1de Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PowershellCmd      = "powershell"
	MaxValueCountLimit = 250
	ValueLimitExceeded = "ValueLimitExceeded"
)
View Source
const (
	// GathererName captures name of Registry gatherer
	GathererName = "ACS:WindowsRegistry"
	// SchemaVersionOfRegistryGatherer represents schema version of Registry gatherer
	SchemaVersionOfRegistryGatherer = "1.0"
)

Variables

View Source
var ValueCountLimitExceeded = errors.New("Exceeded register value count limit")

Functions

func LogError

func LogError(err error)

LogError is a wrapper on log.Error for easy testability

Types

type T

type T struct{}

func Gatherer

func Gatherer() *T

Gatherer returns new Process gatherer

func (*T) Name

func (t *T) Name() string

Name returns name of Process gatherer

func (*T) Run

func (t *T) Run(configuration model.Config) (items []model.Item, err error)

Run executes Registry gatherer and returns list of inventory.Item comprising of registry data

Jump to

Keyboard shortcuts

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