{"modulePath":"github.com/utmstack/UTMStack/plugins/sophos","version":"v0.0.0-20261126134315-738f65073a40","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package main\n\n## Functions\n\n```go\nfunc GetConfigUpdateChannel() \u003c-chan *ConfigurationSection\n```\nGetConfigUpdateChannel returns the channel that receives config updates.\n\n```go\nfunc StartConfigurationSystem()\n```\nStartConfigurationSystem blocks until configured, then watches indefinitely.\n\n## Types\n\n```go\ntype ApiHosts struct {\n\tGlobal     string `json:\"global\"`\n\tDataRegion string `json:\"dataRegion\"`\n}\n```\n\n```go\ntype Configuration struct {\n\tConfKey   string\n\tConfValue string\n}\n```\n\n```go\ntype ConfigurationSection struct {\n\tModuleActive bool\n\tModuleGroups []*ModuleGroup\n}\n```\n\n```go\nfunc GetConfig() *ConfigurationSection\n```\nGetConfig returns the current configuration (nil-safe).\n\n```go\ntype EventAggregate struct {\n\tPages Pages            `json:\"pages\"`\n\tItems []map[string]any `json:\"items\"`\n}\n```\n\n```go\ntype LogRecord struct {\n\tID  string\n\tRaw string\n}\n```\nLogRecord is one ingested Sophos Central event with its deterministic identity.\n\n```go\ntype ModuleGroup struct {\n\tId                        int32\n\tGroupName                 string\n\tTenantId                  string\n\tModuleGroupConfigurations []*Configuration\n}\n```\n\n```go\nfunc (g *ModuleGroup) Key() string\n```\n\n```go\ntype Pages struct {\n\tFromKey string `json:\"fromKey\"`\n\tNextKey string `json:\"nextKey\"`\n\tSize    int64  `json:\"size\"`\n\tMaxSize int64  `json:\"maxSize\"`\n}\n```\n\n```go\ntype SophosCentralProcessor struct {\n\tClientID     string\n\tClientSecret string\n\tTenantID     string\n\tDataRegion   string\n\tAccessToken  string\n\tExpiresAt    time.Time\n}\n```\n\n```go\ntype WhoamiResponse struct {\n\tID       string   `json:\"id\"`\n\tApiHosts ApiHosts `json:\"apiHosts\"`\n}\n```\n\n","path":"github.com/utmstack/UTMStack/plugins/sophos","name":"main","synopsis":"","isRedistributable":true}
