Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TLSVersions = map[string]uint16{ "tls10": tls.VersionTLS10, "tls11": tls.VersionTLS11, "tls12": tls.VersionTLS12, }
TLSVersions contains a correspondence map for TLS versions in config
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Dashboard *GlobalConfig `json:",omitempty"` Sensu []SensuConfig Uchiwa GlobalConfig }
Config struct contains []SensuConfig and UchiwaConfig structs
var ( // Private contains the private configuration Private *Config )
type Github ¶
type Github struct { ClientID string ClientSecret string Roles []authentication.Role Server string }
Github struct contains the GitHub driver configuration
type Gitlab ¶
type Gitlab struct { ClientID string `json:"applicationid"` ClientSecret string `json:"secret"` RedirectURL string Roles []authentication.Role Server string }
Gitlab struct contains the Gitlab driver configuration
type GlobalConfig ¶
type GlobalConfig struct { Host string Port int LogLevel string Refresh int Pass string User string Users []authentication.User Audit Audit Auth structs.Auth Db Db Enterprise bool Github Github Gitlab Gitlab Ldap Ldap OIDC OIDC SSL SSL UsersOptions UsersOptions }
GlobalConfig struct contains conf about Uchiwa
type Ldap ¶
type Ldap struct { LdapServer Debug bool Roles []authentication.Role Servers []LdapServer }
Ldap struct contains the LDAP driver configuration
type LdapServer ¶
type LdapServer struct { Server string Port int BaseDN string BindUser string BindPass string Dialect string DisableNestedGroups bool GroupBaseDN string GroupObjectClass string GroupMemberAttribute string Insecure bool Security string TLSConfig *tls.Config `json:"-"` UserAttribute string UserBaseDN string UserObjectClass string }
LdapServer contains the configuration of a specific LDAP server
type OIDC ¶
type OIDC struct { AdditionalScopes []string ClientID string ClientSecret string Insecure bool RedirectURL string Roles []authentication.Role Server string }
OIDC struct contains the OIDC driver configuration
type SSL ¶
type SSL struct { CertFile string KeyFile string CipherSuite []string TLSMinVersion string TLSConfig *tls.Config `json:"-"` }
SSL struct contains the path the SSL certificate and key
Click to show internal directories.
Click to hide internal directories.