()
| 1633 | } |
| 1634 | |
| 1635 | func (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. |
no outgoing calls
no test coverage detected