posture

package
v0.15.18 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2021 License: Apache-2.0 Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Domain

func Domain() string

func MacAddresses

func MacAddresses() []string

Types

type Cache

type Cache struct {
	MacAddresses []string
	Os           OsInfo
	Domain       string
	// contains filtered or unexported fields
}

func NewCache

func NewCache(ctrlClient api.Client, closeNotify <-chan struct{}) *Cache

func (*Cache) AddActiveService

func (cache *Cache) AddActiveService(serviceId string)

func (*Cache) ProcessInfo

func (cache *Cache) ProcessInfo(processPath string) ProcessInfo

func (*Cache) Refresh

func (cache *Cache) Refresh()

func (*Cache) RemoveService

func (cache *Cache) RemoveService(serviceId string)

func (*Cache) SetServiceQueryMap

func (cache *Cache) SetServiceQueryMap(serviceQueryMap map[string]map[string]edge.PostureQuery)

type OsInfo

type OsInfo struct {
	Type    string
	Version string
}

func Os

func Os() OsInfo

type ProcessInfo

type ProcessInfo struct {
	IsRunning          bool
	Hash               string
	SignerFingerprints []string
}

func Process

func Process(expectedPath string) ProcessInfo

Jump to

Keyboard shortcuts

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