registry

package
v0.0.0-...-0117b6e Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 13 Imported by: 5

Documentation

Overview

Package registry collects information about windows registry

Index

Constants

View Source
const (
	MaxValueCountLimit = 250
	ValueLimitExceeded = "ValueLimitExceeded"
)
View Source
const (
	// GathererName captures name of Registry gatherer
	GathererName = "AWS: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(log log.T, err error)

LogError is a wrapper on log.Error for easy testability

Types

type T

type T struct{}

func Gatherer

func Gatherer(context context.T) *T

Gatherer returns new Process gatherer

func (*T) Name

func (t *T) Name() string

Name returns name of Process gatherer

func (*T) RequestStop

func (t *T) RequestStop() error

RequestStop stops the execution of registry gatherer.

func (*T) Run

func (t *T) Run(context context.T, 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