MCPcopy Create free account
hub / github.com/couchbase/sync_gateway / StartupAuditFields

Method StartupAuditFields

rest/config.go:1635–1646  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1633}
1634
1635func (sc *ServerContext) StartupAuditFields() base.AuditFields {
1636 return base.AuditFields{
1637 base.AuditFieldSGVersion: base.LongVersionString,
1638 base.AuditFieldUseTLSServer: sc.Config.Bootstrap.UseTLSServer,
1639 base.AuditFieldServerTLSSkipVerify: sc.Config.Bootstrap.ServerTLSSkipVerify,
1640 base.AuditFieldAdminInterfaceAuthentication: sc.Config.API.AdminInterfaceAuthentication,
1641 base.AuditFieldMetricsInterfaceAuthentication: sc.Config.API.MetricsInterfaceAuthentication,
1642 base.AuditFieldLogFilePath: sc.Config.Logging.LogFilePath,
1643 base.AuditFieldBcryptCost: sc.Config.Auth.BcryptCost,
1644 base.AuditFieldDisablePersistentConfig: !sc.persistentConfig,
1645 }
1646}
1647
1648// fetchAndLoadConfigs retrieves all database configs from the ServerContext's bootstrapConnection, and loads them into the ServerContext.
1649// It will remove any databases currently running that are not found in the bucket.

Callers 1

SetupServerContextFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected