Versions in this module Expand all Collapse all v1 v1.6.0 Jun 14, 2026 v1.5.1 Jun 14, 2026 v1.5.0 Jun 14, 2026 v1.4.0 Jun 12, 2026 Changes in this version + func LoadDotEnv(cfgPath string) v1.3.0 Jun 11, 2026 v1.2.0 Jun 11, 2026 v1.1.0 Jun 6, 2026 Changes in this version + func ParseWeekday(s string) (time.Weekday, error) type ReportConfig + Retention Retention + SMTP SMTP + Schedules []Schedule type ReportOutput + Tokens []ReportToken + type ReportToken struct + Tenants []string + Token string + type Retention struct + DefaultDays int + Overrides []RetentionOverride + func (r Retention) DaysFor(tenant string) int + type RetentionOverride struct + Days int + Tenant string + type SMTP struct + From string + Host string + Password string + Port int + StartTLS bool + Username string + type Schedule struct + Cadence string + Day int + Hour int + Recipients []string + Tenant string + Weekday string v1.0.0 Jun 6, 2026 Changes in this version + type Collection struct + AssetAgeThreshold time.Duration + Interval time.Duration + Lookback time.Duration + PerJobActivities bool + Timeout time.Duration + type Compliance struct + Defaults ComplianceTarget + Grace time.Duration + Overrides []ComplianceOverride + type ComplianceOverride struct + AssetType string + PolicyName string + Tenant string + type ComplianceTarget struct + MinCopies int + RPOHours int + RetentionDays int + type Config struct + Collection Collection + OTel OTel + Server ServerHTTP + Servers []Server + func Load(path string) (*Config, error) + type OTel struct + Enabled bool + Endpoint string + Insecure bool + Interval string + type ReportConfig struct + Capture struct{ ... } + Compliance Compliance + Database struct{ ... } + Report ReportOutput + Servers []ReportServer + func LoadReport(path string) (*ReportConfig, error) + type ReportOutput struct + AuthToken string + BrandName string + Listen string + type ReportServer struct + Host string + InsecureSkipVerify bool + Name string + Password string + PasswordFile string + Port int + Tenant string + Username string + func (s ReportServer) BaseURL() string + type Server struct + Host string + InsecureSkipVerify bool + Name string + Password string + PasswordFile string + Port int + Username string + func (s Server) BaseURL() string + type ServerHTTP struct + Host string + LogName string + Port string + URI string + type Watcher struct + func NewWatcher(path string) (*Watcher, error) + func (w *Watcher) Close() error + func (w *Watcher) Trigger() + func (w *Watcher) Updates() <-chan *Config