Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. We wanted it somewhere in the system console. After brief discussion with the integrations team, it was mentioned that plugins currently can render a custom React component for a plugin’s settings but that is as much modifying they can do in the system console. There is currently no structured way to do any more modifying and would require creative thinking “creative thinking” as mentioned by integrations.

  2. We noticed that we already have a commercial support link in the dropdown in the hamburger menu of the system console which leads you the a generic Mattermost support webpage. It was decided that we like to improve upon this even further by adding a modal for licensed customers (customers with E10 and E20 licenses) which allows them to download the support packet.

...

Code Block
languagego
type SupportPacket struct {
        ServerOS string `yaml:"server_os"`
        DatabaseType string `yaml:"database_type"`
        DatabaseVersion string `yaml:"database_version"`
        LdapVendorName string   `yaml:"ldap_vendor_name,omitempty"`
        LdapVendorVersion string   `yaml:"ldap_vendor_version,omitempty"`
        ElasticServerVersion string   `yaml:"elastic_server_version,omitempty"`
        ElasticServerPlugins string[]   `yaml:"elastic_server_plugins,omitempty"`
}

More information on the Go YAML library we use today can be found here gopkg.in/yaml.v2

plugins.json

Code Block
languagejson
{
	"active": [

	],
	"inactive": [{
		"id": "antivirus",
		"name": "Antivirus",
		"description": "Antivirus plugin for scanning uploaded files.",
		"version": "0.1.2",
		"server": {
			"executables": {
				"linux-amd64": "server/dist/plugin-linux-amd64",
				"darwin-amd64": "server/dist/plugin-darwin-amd64",
				"windows-amd64": "server/dist/plugin-windows-amd64.exe"
			},
			"executable": ""
		},
		"settings_schema": {
			"header": "Antivirus plugin for scanning uploaded files to Mattermost, uses ClamAV to scan files. See [documentation here](https://github.com/mattermost/mattermost-plugin-antivirus)",
			"footer": "",
			"settings": [{
					"key": "ClamavHostPort",
					"display_name": "ClamAV - Host and Port",
					"type": "text",
					"help_text": "The hostname and port to connect to clamd",
					"placeholder": "localhost:3310",
					"default": "localhost:3310"
				},
				{
					"key": "ScanTimeoutSeconds",
					"display_name": "Scan Timeout (seconds)",
					"type": "number",
					"help_text": "How long the virus scan can take before giving up.",
					"placeholder": "10",
					"default": 10
				}
			]
		}
	}]
}

...

notifications.log

sanitized_config.json (A possible example of what it may look liketruncated example)

Code Block
languagejson
{
	"ServiceSettings": {
		"SiteURL": "http://localhost:8065",
		"WebsocketURL": null,
		"LicenseFileLocation": null,
		"ListenAddress": ":8065",
		"ConnectionSecurity": "",
		"TLSCertFile": "",
		"TLSKeyFile": "",
		"TLSMinVer": null,
		"TLSStrictTransport": null,
		"TLSStrictTransportMaxAge": null,
		"TLSOverwriteCiphers": null,
		"UseLetsEncrypt": false,
		"LetsEncryptCertificateCacheFile": "./config/letsencrypt.cache",
		"Forward80To443": false,
		"TrustedProxyIPHeader": null,
		"ReadTimeout": 300,
		"WriteTimeout": 300,
		"IdleTimeout": null,
		"MaximumLoginAttempts": 10,
		"GoroutineHealthThreshold": null,
		"GoogleDeveloperKey": "",
		"EnableOAuthServiceProvider": false,
		"EnableIncomingWebhooks": true,
		"EnableOutgoingWebhooks": true,
		"EnableCommands": true,
		"EnableOnlyAdminIntegrations": null,
		"EnablePostUsernameOverride": false,
		"EnablePostIconOverride": false,
		"EnableLinkPreviews": false,
		"EnableTesting": false,
		"EnableDeveloper": true,
		"EnableOpenTracing": null,
		"EnableSecurityFixAlert": true,
		"EnableInsecureOutgoingConnections": false,
		"AllowedUntrustedInternalConnections": "localhost,",
		"EnableMultifactorAuthentication": false,
		"EnforceMultifactorAuthentication": false,
		"EnableUserAccessTokens": false,
		"AllowCorsFrom": "",
		"CorsExposedHeaders": "",
		"CorsAllowCredentials": false,
		"CorsDebug": false,
		"AllowCookiesForSubdomains": null,
		"ExtendSessionLengthWithActivity": true,
		"SessionLengthWebInDays": 30,
		"SessionLengthMobileInDays": 30,
		"SessionLengthSSOInDays": 30,
		"SessionCacheInMinutes": 10,
		"SessionIdleTimeoutInMinutes": 43200,
		"WebsocketSecurePort": null,
		"WebsocketPort": null,
		"WebserverMode": "gzip",
		"EnableCustomEmoji": false,
		"EnableEmojiPicker": true,
		"EnableGifPicker": false,
		"GfycatApiKey": "2_KtH_W5",
		"GfycatApiSecret": "********************************",
		"RestrictCustomEmojiCreation": null,
		"RestrictPostDelete": null,
		"AllowEditPost": null,
		"PostEditTimeLimit": -1,
		"TimeBetweenUserTypingUpdatesMilliseconds": null,
		"EnablePostSearch": null,
		"MinimumHashtagLength": 3,
		"EnableUserTypingMessages": null,
		"EnableChannelViewedMessages": null,
		"EnableUserStatuses": null,
		"ExperimentalEnableAuthenticationTransfer": null,
		"ClusterLogTimeoutMilliseconds": null,
		"CloseUnusedDirectMessages": null,
		"EnablePreviewFeatures": null,
		"EnableTutorial": null,
		"ExperimentalEnableDefaultChannelLeaveJoinMessages": null,
		"ExperimentalGroupUnreadChannels": null,
		"ExperimentalChannelOrganization": null,
		"ExperimentalChannelSidebarOrganization": null,
		"ImageProxyType": null,
		"ImageProxyURL": null,
		"ImageProxyOptions": null,
		"EnableAPITeamDeletion": null,
		"EnableAPIUserDeletion": null,
		"ExperimentalEnableHardenedMode": null,
		"DisableLegacyMFA": null,
		"ExperimentalStrictCSRFEnforcement": null,
		"EnableEmailInvitations": true,
		"DisableBotsWhenOwnerIsDeactivated": true,
		"EnableBotAccountCreation": true,
		"EnableSVGs": true,
		"EnableLatex": false,
		"EnableAPIChannelDeletion": null,
		"EnableLocalMode": null,
		"LocalModeSocketLocation": null,
		"EnableAWSMetering": null,
		"SplitKey": "********************************",
		"FeatureFlagSyncIntervalSeconds": 30,
		"DebugSplit": false,
		"ThreadAutoFollow": null,
		"CollapsedThreads": null,
		"ManagedResourcePaths": ""
	},
	"TeamSettings": {
		"SiteName": "Mattermost",
		"MaxUsersPerTeam": 100,
		"EnableTeamCreation": null,
		"EnableUserCreation": true,
		"EnableOpenServer": true,
		"EnableUserDeactivation": null,
		"RestrictCreationToDomains": "",
		"EnableCustomBrand": false,
		"CustomBrandText": "",
		"CustomDescriptionText": "",
		"RestrictDirectMessage": "any",
		"RestrictTeamInvite": null,
		"RestrictPublicChannelManagement": null,
		"RestrictPrivateChannelManagement": null,
		"RestrictPublicChannelCreation": null,
		"RestrictPrivateChannelCreation": null,
		"RestrictPublicChannelDeletion": null,
		"RestrictPrivateChannelDeletion": null,
		"RestrictPrivateChannelManageMembers": null,
		"EnableXToLeaveChannelsFromLHS": null,
		"UserStatusAwayTimeout": null,
		"MaxChannelsPerTeam": 2000,
		"MaxNotificationsPerChannel": 1000000,
		"EnableConfirmNotificationsToChannel": true,
		"TeammateNameDisplay": "username",
		"ExperimentalViewArchivedChannels": false,
		"ExperimentalEnableAutomaticReplies": null,
		"ExperimentalHideTownSquareinLHS": null,
		"ExperimentalTownSquareIsReadOnly": null,
		"LockTeammateNameDisplay": false,
		"ExperimentalPrimaryTeam": null,
		"ExperimentalDefaultChannels": null
	},
	"ClientRequirementsSqlSettings": {
		"AndroidLatestVersionDriverName": "postgres",
		"AndroidMinVersionDataSource": "********************************",
		"DesktopLatestVersionDataSourceReplicas": ""[],
		"DesktopMinVersionDataSourceSearchReplicas": ""[],
		"IosLatestVersionMaxIdleConns": ""20,
		"IosMinVersionConnMaxLifetimeMilliseconds": ""3600000,
	},
	"SqlSettingsMaxOpenConns": {300,
		"DriverNameTrace": "postgres"false,
		"DataSourceAtRestEncryptKey": "********************************",
		"DataSourceReplicasQueryTimeout": []30,
		"DataSourceSearchReplicasDisableDatabaseSearch": []false
	},
	"FileSettings": {
		"MaxIdleConnsEnableFileAttachments": 20true,
		"ConnMaxLifetimeMillisecondsEnableMobileUpload": 3600000true,
		"MaxOpenConnsEnableMobileDownload": 300true,
		"TraceMaxFileSize": false52428800,
		"AtRestEncryptKeyDriverName": "*********"local",
		"Directory": "./data/",
		"EnablePublicLink": false,
		"PublicLinkSalt": "********************************",
		"QueryTimeoutInitialFont": 30"nunito-bold.ttf",
		"DisableDatabaseSearchAmazonS3AccessKeyId": false"",
	},
	"LogSettingsAmazonS3SecretAccessKey": { 		"EnableConsole": true,
		"ConsoleLevelAmazonS3Bucket": "INFO",
		"ConsoleJsonAmazonS3PathPrefix": true,
		"EnableFile": true,
		"FileLevelAmazonS3Region": "INFO",
		"FileJsonAmazonS3Endpoint": true,
		"FileLocation": """s3.amazonaws.com",
		"EnableWebhookDebuggingAmazonS3SSL": true,
		"EnableDiagnosticsAmazonS3SignV2": truefalse,
		"EnableSentryAmazonS3SSE": false,
		"AdvancedLoggingConfigAmazonS3Trace": ""false
	},
	"ExperimentalAuditSettingsEmailSettings": {
		"FileEnabledEnableSignUpWithEmail": nulltrue,
		"FileNameEnableSignInWithEmail": nulltrue,
		"FileMaxSizeMBEnableSignInWithUsername": nulltrue,
		"FileMaxAgeDaysSendEmailNotifications": nulltrue,
		"FileMaxBackupsUseChannelInEmailNotifications": null,
		"FileCompressRequireEmailVerification": nullfalse,
		"FileMaxQueueSizeFeedbackName": null"",
		"AdvancedLoggingConfigFeedbackEmail": null"test@example.com",
	},
	"NotificationLogSettingsReplyToAddress": {"test@example.com",
		"EnableConsoleFeedbackOrganization": null"",
		"ConsoleLevelEnableSMTPAuth": nulltrue,
		"ConsoleJsonSMTPUsername": null"",
		"EnableFileSMTPPassword": null"********************************",
		"FileLevelSMTPServer": null"localhost",
		"FileJsonSMTPPort": null,
		"FileLocation10025": null,
		"AdvancedLoggingConfigSMTPServerTimeout": null,
	},
	"PasswordSettingsConnectionSecurity": {
		"MinimumLength": 5,
		"LowercaseSendPushNotifications": falsetrue,
		"NumberPushNotificationServer": false"https://push-test.mattermost.com",
		"UppercasePushNotificationContents": false"generic",
		"SymbolPushNotificationBuffer": falsenull,
	},
	"FileSettingsEnableEmailBatching": {false,
		"EnableFileAttachmentsEmailBatchingBufferSize": truenull,
		"EnableMobileUploadEmailBatchingInterval": truenull,
		"EnableMobileDownloadEnablePreviewModeBanner": true,
		"MaxFileSizeSkipServerCertificateVerification": 52428800false,
		"DriverNameEmailNotificationContentsType": "localfull",
		"DirectoryLoginButtonColor": "./data/"null,
		"LoginButtonBorderColor": null,
		"EnablePublicLinkLoginButtonTextColor": falsenull
	},
		"PublicLinkSaltRateLimitSettings": "********************************"{
		"Enable": false,
		"InitialFontPerSec": "nunito-bold.ttf"10,
		"AmazonS3AccessKeyIdMaxBurst": ""100,
		"AmazonS3SecretAccessKeyMemoryStoreSize": ""10000,
		"AmazonS3BucketVaryByRemoteAddr": ""true,
		"AmazonS3PathPrefixVaryByUser": ""false,
		"AmazonS3RegionVaryByHeader": ""
	},
		"AmazonS3EndpointPrivacySettings": "s3.amazonaws.com",{
		"AmazonS3SSLShowEmailAddress": true,
		"AmazonS3SignV2ShowFullName": falsetrue
	},
		"AmazonS3SSEAnnouncementSettings": false,{
		"AmazonS3TraceEnableBanner": false,
	},
	"EmailSettingsBannerText": {
		"EnableSignUpWithEmail": true,
		"EnableSignInWithEmailBannerColor": true"#f2a93b",
		"EnableSignInWithUsernameBannerTextColor": true"#333333",
		"SendEmailNotificationsAllowBannerDismissal": true,
		"UseChannelInEmailNotificationsAdminNoticesEnabled": nullfalse,
		"RequireEmailVerificationUserNoticesEnabled": false,
		"FeedbackNameNoticesURL": "https://notices.mattermost.com/",
		"FeedbackEmailNoticesFetchFrequency": "test@example.com"3600,
		"ReplyToAddressNoticesSkipCache": "test@example.com"false
	},
		"FeedbackOrganizationThemeSettings": "",{
		"EnableSMTPAuthEnableThemeSelection": truenull,
		"SMTPUsernameDefaultTheme": null,
		"AllowCustomThemes": null,
		"SMTPPasswordAllowedThemes": "********************************",null
	},
	"GitLabSettings": {
		"SMTPServerEnable": "localhost"false,
		"SMTPPortSecret": "10025",
		"SMTPServerTimeoutId": null"",
		"ConnectionSecurityScope": "",
		"SendPushNotificationsAuthEndpoint": true"",
		"PushNotificationServerTokenEndpoint": "https://push-test.mattermost.com"",
		"PushNotificationContentsUserApiEndpoint": "generic",
		"PushNotificationBufferDiscoveryEndpoint": null"",
		"EnableEmailBatchingButtonText": false"",
		"EmailBatchingBufferSizeButtonColor": null,
		"EmailBatchingInterval":
null	},
		"EnablePreviewModeBannerGoogleSettings": true,{
		"SkipServerCertificateVerificationEnable": false,
		"EmailNotificationContentsTypeSecret": "full",
		"LoginButtonColorId": null,
		"LoginButtonBorderColor": null,
		"LoginButtonTextColorScope": null
	}, 	"RateLimitSettings": {
		"Enable": falseprofile email",
		"PerSecAuthEndpoint": 10"https://accounts.google.com/o/oauth2/v2/auth",
		"MaxBurstTokenEndpoint": 100"https://www.googleapis.com/oauth2/v4/token",
		"MemoryStoreSizeUserApiEndpoint": 10000,
		"VaryByRemoteAddr": true,
		"VaryByUser": false"https://people.googleapis.com/v1/people/me?personFields=names,emailAddresses,nicknames,metadata",
		"VaryByHeaderDiscoveryEndpoint": ""
	},
	"PrivacySettings": {
		"ShowEmailAddress": truehttps://accounts.google.com/.well-known/openid-configuration",
		"ButtonText": "",
		"ShowFullNameButtonColor": true""
	},
	"SupportSettingsOpenIdSettings": {
		"TermsOfServiceLinkEnable": false,
		"Secret"https://about.mattermost.com/default-terms/: "",
		"PrivacyPolicyLinkId": "https://about.mattermost.com/default-privacy-policy/",
		"AboutLinkScope": "https://about.mattermost.com/default-about/profile openid email",
		"HelpLinkAuthEndpoint": "https://about.mattermost.com/default-help/",
		"ReportAProblemLinkTokenEndpoint": "https://about.mattermost.com/default-report-a-problem/",
		"SupportEmailUserApiEndpoint": "feedback@mattermost.com",
		"CustomTermsOfServiceEnabledDiscoveryEndpoint": null"",
		"CustomTermsOfServiceReAcceptancePeriodButtonText": null"",
		"EnableAskCommunityLinkButtonColor": true"#145DBF"
	},
	"AnnouncementSettingsLdapSettings": {
		"EnableBannerEnable": falsetrue,
		"BannerTextEnableSync": ""false,
		"BannerColorLdapServer": "#f2a93blocalhost",
		"BannerTextColorLdapPort": "#333333"389,
		"AllowBannerDismissalConnectionSecurity": true"",
		"AdminNoticesEnabledBaseDN": false,
		"UserNoticesEnabled": false"dc=mm,dc=test,dc=com",
		"NoticesURLBindUsername": "https://notices.mattermost.com/cn=admin,dc=mm,dc=test,dc=com",
		"NoticesFetchFrequencyBindPassword": 3600, 		"NoticesSkipCache": false
	},
	"ThemeSettings": {
		"EnableThemeSelection": null,
		"DefaultTheme": null,
		"AllowCustomThemes": null,
		"AllowedThemes": null
	},
	"GitLabSettings": {
		"Enable": false,
		"Secret": "",
		"Id": "",
		"Scope": "",
		"AuthEndpoint": "",
		"TokenEndpoint": "",
		"UserApiEndpoint": "",
		"DiscoveryEndpoint": "",
		"ButtonText": "",
		"ButtonColor": ""
	},
	"GoogleSettings": {
		"Enable": false,
		"Secret": "",
		"Id": "",
		"Scope": "profile email",
		"AuthEndpoint": "https://accounts.google.com/o/oauth2/v2/auth",
		"TokenEndpoint": "https://www.googleapis.com/oauth2/v4/token",
		"UserApiEndpoint": "https://people.googleapis.com/v1/people/me?personFields=names,emailAddresses,nicknames,metadata",
		"DiscoveryEndpoint": "https://accounts.google.com/.well-known/openid-configuration",
		"ButtonText": "",
		"ButtonColor": ""
	},
	"Office365Settings": {
		"Enable": false,
		"Secret": "",
		"Id": "",
		"Scope": "User.Read",
		"AuthEndpoint": "https://login.microsoftonline.com/common/oauth2/v2.0/authorize",
		"TokenEndpoint": "https://login.microsoftonline.com/common/oauth2/v2.0/token",
		"UserApiEndpoint": "https://graph.microsoft.com/v1.0/me",
		"DiscoveryEndpoint": "https://login.microsoftonline.com/common/v2.0/.well-known/openid-configuration",
		"DirectoryId": ""
	},
	"OpenIdSettings": {
		"Enable": false,
		"Secret": "",
		"Id": "",
		"Scope": "profile openid email",
		"AuthEndpoint": "",
		"TokenEndpoint": "",
		"UserApiEndpoint": "",
		"DiscoveryEndpoint": "",
		"ButtonText": "",
		"ButtonColor": "#145DBF"
	},
	"LdapSettings": {
		"Enable": true,
		"EnableSync": false,
		"LdapServer": "localhost",
		"LdapPort": 389,
		"ConnectionSecurity": "",
		"BaseDN": "dc=mm,dc=test,dc=com",
		"BindUsername": "cn=admin,dc=mm,dc=test,dc=com",
		"BindPassword": "********************************",
		"UserFilter": "",
		"GroupFilter": "",
		"GuestFilter": "",
		"EnableAdminFilter": null,
		"AdminFilter": null,
		"GroupDisplayNameAttribute": "cn",
		"GroupIdAttribute": "entryUUID",
		"FirstNameAttribute": "cn",
		"LastNameAttribute": "sn",
		"EmailAttribute": "mail",
		"UsernameAttribute": "uid",
		"NicknameAttribute": "cn",
		"IdAttribute": "uid",
		"PositionAttribute": "sAMAccountType",
		"LoginIdAttribute": "uid",
		"PictureAttribute": "",
		"SyncIntervalMinutes": 10000,
		"SkipCertificateVerification": false,
		"PublicCertificateFile": "",
		"PrivateKeyFile": "",
		"QueryTimeout": 60,
		"MaxPageSize": 500,
		"LoginFieldName": "",
		"LoginButtonColor": "#0000",
		"LoginButtonBorderColor": "#2389D7",
		"LoginButtonTextColor": "#2389D7",
		"Trace": false
	},
	"ComplianceSettings": {
		"Enable": null,
		"Directory": null,
		"EnableDaily": null
	},
	"LocalizationSettings": {
		"DefaultServerLocale": "en",
		"DefaultClientLocale": "en",
		"AvailableLocales": ""
	},
	"SamlSettings": {
		"Enable": false,
		"EnableSyncWithLdap": false,
		"EnableSyncWithLdapIncludeAuth": false,
		"IgnoreGuestsLdapSync": false,
		"Verify": true,
		"Encrypt": true,
		"SignRequest": false,
		"IdpUrl": "",
		"IdpDescriptorUrl": "",
		"IdpMetadataUrl": "",
		"ServiceProviderIdentifier": "http://localhost:8065/login/sso/saml",
		"AssertionConsumerServiceURL": "",
		"SignatureAlgorithm": "RSAwithSHA1",
		"CanonicalAlgorithm": "Canonical1.0",
		"ScopingIDPProviderId": "",
		"ScopingIDPName": "",
		"IdpCertificateFile": "saml-idp.crt",
		"PublicCertificateFile": "saml-public.crt",
		"PrivateKeyFile": "saml-private.key",
		"IdAttribute": "",
		"GuestAttribute": "",
		"EnableAdminAttribute": null,
		"AdminAttribute": null,
		"FirstNameAttribute": "",
		"LastNameAttribute": "",
		"EmailAttribute": "Email",
		"UsernameAttribute": "Username",
		"NicknameAttribute": "",
		"LocaleAttribute": "",
		"PositionAttribute": "",
		"LoginButtonText": "SAML",
		"LoginButtonColor": "#34a28b",
		"LoginButtonBorderColor": "#2389D7",
		"LoginButtonTextColor": "#ffffff"
	},
	"NativeAppSettings": {
		"AppDownloadLink": "https://mattermost.com/download/#mattermostApps",
		"AndroidAppDownloadLink": "https://about.mattermost.com/mattermost-android-app/",
		"IosAppDownloadLink": "https://about.mattermost.com/mattermost-ios-app/"
	},
	"ClusterSettings": {
		"Enable": false,
		"ClusterName": "",
		"OverrideHostname": "",
		"NetworkInterface": "",
		"BindAddress": "",
		"AdvertiseAddress": "",
		"UseIpAddress": true,
		"UseExperimentalGossip": false,
		"EnableExperimentalGossipEncryption": false,
		"ReadOnlyConfig": false,
		"GossipPort": 8074,
		"StreamingPort": 8075,
		"MaxIdleConns": 100,
		"MaxIdleConnsPerHost": 128,
		"IdleConnTimeoutMilliseconds": 90000
	},
	"MetricsSettings": {
		"Enable": false,
		"BlockProfileRate": 0,
		"ListenAddress": ":8067"
	},
	"ExperimentalSettings": {
		"ClientSideCertEnable": null,
		"ClientSideCertCheck": null,
		"EnableClickToReply": null,
		"LinkMetadataTimeoutMilliseconds": null,
		"RestrictSystemAdmin": null,
		"UseNewSAMLLibrary": null,
		"CloudUserLimit": null,
		"CloudBilling": null,
		"EnableSharedChannels": null
	},
	"AnalyticsSettings": {
		"MaxUsersForStatistics": null
	},
	"ElasticsearchSettings": {
		"ConnectionUrl": "http://localhost:9200",
		"Username": "elastic",
		"Password": "********************************",
		"EnableIndexing": true,
		"EnableSearching": false,
		"EnableAutocomplete": false,
		"Sniff": false,
		"PostIndexReplicas": 1,
		"PostIndexShards": 1,
		"ChannelIndexReplicas": 1,
		"ChannelIndexShards": 1,
		"UserIndexReplicas": 1,
		"UserIndexShards": 1,
		"AggregatePostsAfterDays": 365,
		"PostsAggregatorJobStartTime": "03:00",
		"IndexPrefix": "",
		"LiveIndexingBatchSize": 1,
		"BulkIndexingTimeWindowSeconds": 3600,
		"RequestTimeoutSeconds": 30,
		"SkipTLSVerification": false,
		"Trace": ""
	},
	"BleveSettings": {
		"IndexDir": null,
		"EnableIndexing": null,
		"EnableSearching": null,
		"EnableAutocomplete": null,
		"BulkIndexingTimeWindowSeconds": null
	},
	"DataRetentionSettings": {
		"EnableMessageDeletion": null,
		"EnableFileDeletion": null,
		"MessageRetentionDays": null,
		"FileRetentionDays": null,
		"DeletionJobStartTime": null
	},
	"MessageExportSettings": {
		"EnableExport": null,
		"ExportFormat": null,
		"DailyRunTime": null,
		"ExportFromTimestamp": null,
		"BatchSize": null,
		"DownloadExportResults": null,
		"GlobalRelaySettings": null
	},
	"JobSettings": {
		"RunJobs": null,
		"RunScheduler": null
	},
	"PluginSettings": {
		"Enable": true,
		"EnableUploads": true,
		"AllowInsecureDownloadUrl": false,
		"EnableHealthCheck": true,
		"Directory": "./plugins",
		"ClientDirectory": "./client/plugins",
		"Plugins": {},
		"PluginStates": {
			"antivirus": {
				"Enable": false
			},
			"com.mattermost.aws-sns": {
				"Enable": false
			},
			"com.mattermost.nps": {
				"Enable": false
			},
			"com.mattermost.plugin-channel-export": {
				"Enable": true
			},
			"com.mattermost.plugin-incident-management": {
				"Enable": false
			},
			"com.mattermost.plugin-incident-response": {
				"Enable": false
			},
			"mattermost-autolink": {
				"Enable": false
			}
		},
		"EnableMarketplace": true,
		"EnableRemoteMarketplace": true,
		"AutomaticPrepackagedPlugins": true,
		"RequirePluginSignature": false,
		"MarketplaceUrl": "https://api.integrations.mattermost.com",
		"SignaturePublicKeyFiles": []
	},
	"DisplaySettings": {
		"CustomUrlSchemes": [],
		"ExperimentalTimezone": null
	},
	"GuestAccountsSettings": {
		"Enable": true,
		"AllowEmailAccounts": true,
		"EnforceMultifactorAuthentication": false,
		"RestrictCreationToDomains": ""
	},
	"ImageProxySettings": {
		"Enable": true,
		"ImageProxyType": "local",
		"RemoteImageProxyURL"********************************",
		"UserFilter": "",
		"GroupFilter": "",
		"GuestFilter": "",
		"EnableAdminFilter": null,
		"AdminFilter": null,
		"GroupDisplayNameAttribute": "cn",
		"GroupIdAttribute": "entryUUID",
		"FirstNameAttribute": "cn",
		"LastNameAttribute": "sn",
		"EmailAttribute": "mail",
		"UsernameAttribute": "uid",
		"NicknameAttribute": "cn",
		"IdAttribute": "uid",
		"PositionAttribute": "sAMAccountType",
		"LoginIdAttribute": "uid",
		"PictureAttribute": "",
		"SyncIntervalMinutes": 10000,
		"SkipCertificateVerification": false,
		"PublicCertificateFile": "",
		"PrivateKeyFile": "",
		"RemoteImageProxyOptionsQueryTimeout": 60,
		"MaxPageSize": 	}500,
		"CloudSettingsLoginFieldName": {"",
		"CWSUrlLoginButtonColor": "https://customers.mattermost.com"
	},
	"ImportSettings": {#0000",
		"LoginButtonBorderColor": "#2389D7",
		"DirectoryLoginButtonTextColor": null"#2389D7",
		"RetentionDaysTrace": nullfalse
	},
    ...
}

...

Here, I will be discussing how we will retrieve the information seen in the support_packet.yaml

Server OS:

In golang, we can use runtime.GOOS to get the operating system which the server is running on.

...

Regarding debug level, check to see if their out logs to file is enabled and if the file log levels is set to debug. If not, then let’s show the message

Before downloading the support packet, set Output Logs to File to true and set File Log Level to DEBUG [here]. Afterwards, please recreate the issue with these settings before submitting.

as seen in the design to encourage them to enable it and set it to debug and try to recreate their issue to provide us with the most amount of information.

...