Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Slack struct { Token string `yaml:"token" env:"SLACK_TOKEN"` SecurityUser []string `yaml:"security_user" emv:"SLACK_SECURITY_USER"` SkipNoReport bool `yaml:"skip_no_report" env:"SLACK_SKIP_NO_REPORT"` SkipOnHoliday bool `yaml:"skip_on_holiday" env:"SLACK_SKIP_ON_HOLIDAY"` } `yaml:"slack"` Falcon struct { ClientID string `yaml:"clientid" env:"FALCON_CLIENT_ID"` Secret string `yaml:"secret" env:"FALCON_SECRET"` CloudRegion string `yaml:"cloud_region" env:"FALCON_CLOUD_REGION"` SkipNoMitigation bool `yaml:"skip_no_mitigation" env:"FALCON_SKIP_NO_MITIGATION"` SkipSeverities []string `yaml:"skip_severities" env:"FALCON_SKIP_SEVERITIES"` MinCVEBaseScore int `yaml:"min_cve_base_score" env:"FALCON_MIN_CVE_BASE_SCORE"` SkipCVEs []string `yaml:"skip_cves" env:"FALCON_SKIP_CVES"` MinExprtAISeverity string `yaml:"min_exprtai_severity" env:"FALCON_MIN_EXPRTAI_SEVERITYs"` } `yaml:"falcon"` WS1 struct { Endpoint string `yaml:"api_url" env:"WS1_API_URL"` // from https://docs.vmware.com/en/VMware-Workspace-ONE-UEM/services/UEM_ConsoleBasics/GUID-BF20C949-5065-4DCF-889D-1E0151016B5A.html // e.g. 'emea' AuthLocation string `yaml:"auth_location" env:"WS1_AUTH_LOCATION"` ClientID string `yaml:"client_id" env:"WS1_CLIENT_ID"` ClientSecret string `yaml:"client_secret" env:"WS1_CLIENT_SECRET"` SkipFilters []struct { Policy string `yaml:"policy"` User string `yaml:"user"` } `yaml:"skip"` } `yaml:"ws1"` Email struct { Domains []string `yaml:"domains" env:"DOMAINS"` Whitelist []string `yaml:"whitelist" env:"WHITELIST"` } `yaml:"email"` Templates struct { UserMessage string `yaml:"user_message" env:"USER_MESSAGE"` SecurityOverviewMessage string `yaml:"security_overview_message" env:"SECURITY_OVERVIEW_MESSAGE"` } `yaml:"templates"` }
Click to show internal directories.
Click to hide internal directories.