mirror of
https://github.com/coltoneshaw/CS-Repro-Mattermost.git
synced 2025-12-23 18:11:34 +01:00
fixed the advanced logging settings
This commit is contained in:
@@ -88,7 +88,6 @@ services:
|
|||||||
- ./volumes/mattermost/bleve-indexes:/mattermost/bleve-indexes:rw
|
- ./volumes/mattermost/bleve-indexes:/mattermost/bleve-indexes:rw
|
||||||
- ./license.mattermost:/mattermost/config/license.mattermost-enterprise:ro
|
- ./license.mattermost:/mattermost/config/license.mattermost-enterprise:ro
|
||||||
- ./files/mattermost/samlCert.crt:/mattermost/config/saml-cert.crt
|
- ./files/mattermost/samlCert.crt:/mattermost/config/saml-cert.crt
|
||||||
- ./files/mattermost/advancedLogging.json:/mattermost/config/advancedLogging.json:ro
|
|
||||||
- ./files/mattermost/defaultConfig.json:/mattermost/config/defaultConfig.json:ro
|
- ./files/mattermost/defaultConfig.json:/mattermost/config/defaultConfig.json:ro
|
||||||
- ./files/mattermost/replicaConfig.json:/mattermost/config/replicaConfig.json:ro
|
- ./files/mattermost/replicaConfig.json:/mattermost/config/replicaConfig.json:ro
|
||||||
- ./files/mattermost/rtcdConfig.json:/mattermost/config/rtcdConfig.json:ro
|
- ./files/mattermost/rtcdConfig.json:/mattermost/config/rtcdConfig.json:ro
|
||||||
@@ -227,7 +226,6 @@ services:
|
|||||||
- ./volumes/mattermost_2/bleve-indexes:/mattermost/bleve-indexes:rw
|
- ./volumes/mattermost_2/bleve-indexes:/mattermost/bleve-indexes:rw
|
||||||
- ./license.mattermost:/mattermost/config/license.mattermost-enterprise:ro
|
- ./license.mattermost:/mattermost/config/license.mattermost-enterprise:ro
|
||||||
- ./files/mattermost/samlCert.crt:/mattermost/config/saml-cert.crt
|
- ./files/mattermost/samlCert.crt:/mattermost/config/saml-cert.crt
|
||||||
- ./files/mattermost/advancedLogging.json:/mattermost/config/advancedLogging.json:ro
|
|
||||||
- ./files/mattermost/defaultConfig.json:/mattermost/config/defaultConfig.json:ro
|
- ./files/mattermost/defaultConfig.json:/mattermost/config/defaultConfig.json:ro
|
||||||
- ./files/mattermost/replicaConfig.json:/mattermost/config/replicaConfig.json:ro
|
- ./files/mattermost/replicaConfig.json:/mattermost/config/replicaConfig.json:ro
|
||||||
|
|
||||||
@@ -263,7 +261,7 @@ services:
|
|||||||
mitmproxy:
|
mitmproxy:
|
||||||
container_name: cs-repro-mitmproxy
|
container_name: cs-repro-mitmproxy
|
||||||
image: mitmproxy/mitmproxy
|
image: mitmproxy/mitmproxy
|
||||||
command: mitmweb --web-host 0.0.0.0 --set confdir=/certs
|
command: mitmweb --web-host 0.0.0.0 --set confdir=/certs --mode transparent
|
||||||
volumes:
|
volumes:
|
||||||
- ./files/mitmproxy:/certs
|
- ./files/mitmproxy:/certs
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
@@ -1,40 +0,0 @@
|
|||||||
{
|
|
||||||
"console-log": {
|
|
||||||
"Type": "console",
|
|
||||||
"Format": "json",
|
|
||||||
"Levels": [
|
|
||||||
{"ID": 10, "Name": "stdlog", "Stacktrace": false},
|
|
||||||
{"ID": 5, "Name": "debug", "Stacktrace": false},
|
|
||||||
{"ID": 4, "Name": "info", "Stacktrace": false, "color": 36},
|
|
||||||
{"ID": 3, "Name": "warn", "Stacktrace": false, "color": 33},
|
|
||||||
{"ID": 2, "Name": "error", "Stacktrace": true, "color": 31},
|
|
||||||
{"ID": 1, "Name": "fatal", "Stacktrace": true},
|
|
||||||
{"ID": 0, "Name": "panic", "Stacktrace": true}
|
|
||||||
],
|
|
||||||
"Options": {
|
|
||||||
"Out": "stdout"
|
|
||||||
},
|
|
||||||
"MaxQueueSize": 1000
|
|
||||||
},
|
|
||||||
"file-log": {
|
|
||||||
"Type": "file",
|
|
||||||
"Format": "json",
|
|
||||||
"Levels": [
|
|
||||||
{"ID": 10, "Name": "stdlog", "Stacktrace": false},
|
|
||||||
{"ID": 5, "Name": "debug", "Stacktrace": false},
|
|
||||||
{"ID": 4, "Name": "info", "Stacktrace": false},
|
|
||||||
{"ID": 3, "Name": "warn", "Stacktrace": false},
|
|
||||||
{"ID": 2, "Name": "error", "Stacktrace": true},
|
|
||||||
{"ID": 1, "Name": "fatal", "Stacktrace": true},
|
|
||||||
{"ID": 0, "Name": "panic", "Stacktrace": true}
|
|
||||||
],
|
|
||||||
"Options": {
|
|
||||||
"Compress": true,
|
|
||||||
"Filename": "./logs/traceLogs.json",
|
|
||||||
"MaxAgeDays": 15,
|
|
||||||
"MaxBackups": 3,
|
|
||||||
"MaxSizeMB": 100
|
|
||||||
},
|
|
||||||
"MaxQueueSize": 1000
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,143 +1,399 @@
|
|||||||
{
|
{
|
||||||
"ServiceSettings": {
|
"ServiceSettings": {
|
||||||
"LicenseFileLocation": "config/license.mattermost-enterprise",
|
"LicenseFileLocation": "config/license.mattermost-enterprise",
|
||||||
"AllowedUntrustedInternalConnections": "cs-repro-keycloak:8080 cs-repro-keycloak cs-repro-mitmproxy:8180 cs-repro-mitmproxy"
|
"AllowedUntrustedInternalConnections": "cs-repro-keycloak:8080 cs-repro-keycloak cs-repro-mitmproxy:8180 cs-repro-mitmproxy"
|
||||||
},
|
},
|
||||||
"LogSettings": {
|
"LogSettings": {
|
||||||
"EnableConsole": true,
|
"EnableConsole": true,
|
||||||
"ConsoleLevel": "DEBUG",
|
"ConsoleLevel": "DEBUG",
|
||||||
"ConsoleJson": true,
|
"ConsoleJson": true,
|
||||||
"EnableColor": false,
|
"EnableColor": false,
|
||||||
"EnableFile": true,
|
"EnableFile": true,
|
||||||
"FileLevel": "DEBUG",
|
"FileLevel": "DEBUG",
|
||||||
"FileJson": true,
|
"FileJson": true,
|
||||||
"FileLocation": "",
|
"FileLocation": "",
|
||||||
"EnableWebhookDebugging": true,
|
"EnableWebhookDebugging": true,
|
||||||
"EnableDiagnostics": true,
|
"EnableDiagnostics": true,
|
||||||
"EnableSentry": true,
|
"EnableSentry": true,
|
||||||
"AdvancedLoggingConfig": "./advancedLogging.json"
|
"AdvancedLoggingJSON": {
|
||||||
},
|
"console-log": {
|
||||||
"ExperimentalAuditSettings": {
|
"Type": "console",
|
||||||
"FileEnabled": false,
|
"Format": "json",
|
||||||
"FileName": "",
|
"Levels": [
|
||||||
"FileMaxSizeMB": 100,
|
{
|
||||||
"FileMaxAgeDays": 0,
|
"ID": 10,
|
||||||
"FileMaxBackups": 0,
|
"Name": "stdlog",
|
||||||
"FileCompress": false,
|
"Stacktrace": false
|
||||||
"FileMaxQueueSize": 1000,
|
},
|
||||||
"AdvancedLoggingConfig": "./advancedLogging.json"
|
{
|
||||||
},
|
"ID": 5,
|
||||||
"NotificationLogSettings": {
|
"Name": "debug",
|
||||||
"EnableConsole": true,
|
"Stacktrace": false
|
||||||
"ConsoleLevel": "DEBUG",
|
},
|
||||||
"ConsoleJson": true,
|
{
|
||||||
"EnableColor": false,
|
"ID": 4,
|
||||||
"EnableFile": true,
|
"Name": "info",
|
||||||
"FileLevel": "INFO",
|
"Stacktrace": false,
|
||||||
"FileJson": true,
|
"color": 36
|
||||||
"FileLocation": "",
|
},
|
||||||
"AdvancedLoggingConfig": "./advancedLogging.json"
|
{
|
||||||
},
|
"ID": 3,
|
||||||
"LdapSettings": {
|
"Name": "warn",
|
||||||
"Enable": true,
|
"Stacktrace": false,
|
||||||
"EnableSync": true,
|
"color": 33
|
||||||
"LdapServer": "openldap",
|
},
|
||||||
"LdapPort": 10389,
|
{
|
||||||
"ConnectionSecurity": "",
|
"ID": 2,
|
||||||
"BaseDN": "dc=planetexpress,dc=com",
|
"Name": "error",
|
||||||
"BindUsername": "cn=admin,dc=planetexpress,dc=com",
|
"Stacktrace": true,
|
||||||
"BindPassword": "GoodNewsEveryone",
|
"color": 31
|
||||||
"UserFilter": "(objectClass=Person)",
|
},
|
||||||
"GroupFilter": "(objectClass=Group)",
|
{
|
||||||
"GuestFilter": "",
|
"ID": 1,
|
||||||
"EnableAdminFilter": true,
|
"Name": "fatal",
|
||||||
"AdminFilter": "(memberof=cn=admin_staff,ou=people,dc=planetexpress,dc=com)",
|
"Stacktrace": true
|
||||||
"GroupDisplayNameAttribute": "cn",
|
},
|
||||||
"GroupIdAttribute": "cn",
|
{
|
||||||
"FirstNameAttribute": "givenName",
|
"ID": 0,
|
||||||
"LastNameAttribute": "sn",
|
"Name": "panic",
|
||||||
"EmailAttribute": "mail",
|
"Stacktrace": true
|
||||||
"UsernameAttribute": "uid",
|
}
|
||||||
"NicknameAttribute": "",
|
],
|
||||||
"IdAttribute": "uid",
|
"Options": {
|
||||||
"PositionAttribute": "",
|
"Out": "stdout"
|
||||||
"LoginIdAttribute": "uid",
|
},
|
||||||
"PictureAttribute": "jpegPhoto",
|
"MaxQueueSize": 1000
|
||||||
"SyncIntervalMinutes": 60,
|
},
|
||||||
"SkipCertificateVerification": false,
|
"file-log": {
|
||||||
"PublicCertificateFile": "",
|
"Type": "file",
|
||||||
"PrivateKeyFile": "",
|
"Format": "json",
|
||||||
"QueryTimeout": 60,
|
"Levels": [
|
||||||
"MaxPageSize": 0,
|
{
|
||||||
"LoginFieldName": "",
|
"ID": 10,
|
||||||
"LoginButtonColor": "#0000",
|
"Name": "stdlog",
|
||||||
"LoginButtonBorderColor": "#2389D7",
|
"Stacktrace": false
|
||||||
"LoginButtonTextColor": "#2389D7",
|
},
|
||||||
"Trace": true
|
{
|
||||||
},
|
"ID": 5,
|
||||||
"SamlSettings": {
|
"Name": "debug",
|
||||||
"Enable": true,
|
"Stacktrace": false
|
||||||
"EnableSyncWithLdap": true,
|
},
|
||||||
"EnableSyncWithLdapIncludeAuth": true,
|
{
|
||||||
"IgnoreGuestsLdapSync": false,
|
"ID": 4,
|
||||||
"Verify": false,
|
"Name": "info",
|
||||||
"Encrypt": false,
|
"Stacktrace": false
|
||||||
"SignRequest": false,
|
},
|
||||||
"IdpURL": "http://localhost:8080/realms/master/protocol/saml",
|
{
|
||||||
"IdpDescriptorURL": "http://localhost:8080/realms/master",
|
"ID": 3,
|
||||||
"IdpMetadataURL": "http://cs-repro-keycloak:8080/realms/master/protocol/saml/descriptor",
|
"Name": "warn",
|
||||||
"ServiceProviderIdentifier": "mattermost",
|
"Stacktrace": false
|
||||||
"AssertionConsumerServiceURL": "http://localhost:8065/login/sso/saml",
|
},
|
||||||
"SignatureAlgorithm": "RSAwithSHA1",
|
{
|
||||||
"CanonicalAlgorithm": "Canonical1.0",
|
"ID": 2,
|
||||||
"ScopingIDPProviderId": "",
|
"Name": "error",
|
||||||
"ScopingIDPName": "",
|
"Stacktrace": true
|
||||||
"IdpCertificateFile": "samlCert.crt",
|
},
|
||||||
"PublicCertificateFile": "",
|
{
|
||||||
"PrivateKeyFile": "",
|
"ID": 1,
|
||||||
"IdAttribute": "id",
|
"Name": "fatal",
|
||||||
"GuestAttribute": "",
|
"Stacktrace": true
|
||||||
"EnableAdminAttribute": false,
|
},
|
||||||
"AdminAttribute": "",
|
{
|
||||||
"FirstNameAttribute": "",
|
"ID": 0,
|
||||||
"LastNameAttribute": "",
|
"Name": "panic",
|
||||||
"EmailAttribute": "email",
|
"Stacktrace": true
|
||||||
"UsernameAttribute": "username",
|
}
|
||||||
"NicknameAttribute": "",
|
],
|
||||||
"LocaleAttribute": "",
|
"Options": {
|
||||||
"PositionAttribute": "",
|
"Compress": true,
|
||||||
"LoginButtonText": "keycloak",
|
"Filename": "./logs/advancedLogs.log",
|
||||||
"LoginButtonColor": "#34a28b",
|
"MaxAgeDays": 15,
|
||||||
"LoginButtonBorderColor": "#2389D7",
|
"MaxBackups": 3,
|
||||||
"LoginButtonTextColor": "#ffffff"
|
"MaxSizeMB": 100
|
||||||
},
|
},
|
||||||
"MetricsSettings": {
|
"MaxQueueSize": 1000
|
||||||
"Enable": true,
|
},
|
||||||
"BlockProfileRate": 0,
|
"ldap_logs": {
|
||||||
"ListenAddress": ":8067"
|
"Type": "file",
|
||||||
},
|
"Format": "json",
|
||||||
"ElasticsearchSettings": {
|
"Levels": [
|
||||||
"ConnectionURL": "http://cs-repro-elasticsearch:9200",
|
{
|
||||||
"EnableIndexing": true,
|
"ID": 140,
|
||||||
"EnableSearching": true,
|
"Name": "LDAPError",
|
||||||
"EnableAutocomplete": true,
|
"Stacktrace": false
|
||||||
"Sniff": true,
|
},
|
||||||
"PostIndexReplicas": 1,
|
{
|
||||||
"PostIndexShards": 1,
|
"ID": 141,
|
||||||
"ChannelIndexReplicas": 1,
|
"Name": "LDAPWarn",
|
||||||
"ChannelIndexShards": 1,
|
"Stacktrace": false
|
||||||
"UserIndexReplicas": 1,
|
},
|
||||||
"UserIndexShards": 1,
|
{
|
||||||
"AggregatePostsAfterDays": 365,
|
"ID": 142,
|
||||||
"PostsAggregatorJobStartTime": "03:00",
|
"Name": "LDAPInfo",
|
||||||
"IndexPrefix": ""
|
"Stacktrace": false
|
||||||
},
|
},
|
||||||
"PluginSettings": {
|
{
|
||||||
"Enable": true,
|
"ID": 143,
|
||||||
"EnableUploads": true
|
"Name": "LDAPDebug",
|
||||||
},
|
"Stacktrace": false
|
||||||
"ClusterSettings": {
|
},
|
||||||
"ClusterName": "mattermost",
|
{
|
||||||
"ReadOnlyConfig": false
|
"ID": 144,
|
||||||
}
|
"Name": "LDAPTrace",
|
||||||
|
"Stacktrace": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"Options": {
|
||||||
|
"Compress": true,
|
||||||
|
"Filename": "./logs/advancedLdapLogs.log",
|
||||||
|
"MaxAgeDays": 15,
|
||||||
|
"MaxBackups": 3,
|
||||||
|
"MaxSizeMB": 100
|
||||||
|
},
|
||||||
|
"MaxQueueSize": 1000
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"AdvancedLoggingConfig": ""
|
||||||
|
},
|
||||||
|
"ExperimentalAuditSettings": {
|
||||||
|
"FileEnabled": false,
|
||||||
|
"FileName": "",
|
||||||
|
"FileMaxSizeMB": 100,
|
||||||
|
"FileMaxAgeDays": 0,
|
||||||
|
"FileMaxBackups": 0,
|
||||||
|
"FileCompress": false,
|
||||||
|
"FileMaxQueueSize": 1000,
|
||||||
|
"AdvancedLoggingJSON": {
|
||||||
|
"audit_logs": {
|
||||||
|
"Type": "file",
|
||||||
|
"Format": "json",
|
||||||
|
"Levels": [
|
||||||
|
{ "id": 100, "name": "audit-api" },
|
||||||
|
{ "id": 101, "name": "audit-content" },
|
||||||
|
{ "id": 102, "name": "audit-permissions" },
|
||||||
|
{ "id": 103, "name": "audit-cli" }
|
||||||
|
],
|
||||||
|
"Options": {
|
||||||
|
"Compress": true,
|
||||||
|
"Filename": "./logs/advancedAudit.log",
|
||||||
|
"MaxAgeDays": 0,
|
||||||
|
"MaxBackups": 0,
|
||||||
|
"MaxSizeMB": 200
|
||||||
|
},
|
||||||
|
"MaxQueueSize": 1000
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"AdvancedLoggingConfig": ""
|
||||||
|
},
|
||||||
|
"NotificationLogSettings": {
|
||||||
|
"EnableConsole": true,
|
||||||
|
"ConsoleLevel": "DEBUG",
|
||||||
|
"ConsoleJson": true,
|
||||||
|
"EnableColor": false,
|
||||||
|
"EnableFile": true,
|
||||||
|
"FileLevel": "INFO",
|
||||||
|
"FileJson": true,
|
||||||
|
"FileLocation": "",
|
||||||
|
"AdvancedLoggingJSON": {
|
||||||
|
"console-log": {
|
||||||
|
"Type": "console",
|
||||||
|
"Format": "json",
|
||||||
|
"Levels": [
|
||||||
|
{
|
||||||
|
"ID": 10,
|
||||||
|
"Name": "stdlog",
|
||||||
|
"Stacktrace": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ID": 5,
|
||||||
|
"Name": "debug",
|
||||||
|
"Stacktrace": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ID": 4,
|
||||||
|
"Name": "info",
|
||||||
|
"Stacktrace": false,
|
||||||
|
"color": 36
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ID": 3,
|
||||||
|
"Name": "warn",
|
||||||
|
"Stacktrace": false,
|
||||||
|
"color": 33
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ID": 2,
|
||||||
|
"Name": "error",
|
||||||
|
"Stacktrace": true,
|
||||||
|
"color": 31
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ID": 1,
|
||||||
|
"Name": "fatal",
|
||||||
|
"Stacktrace": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ID": 0,
|
||||||
|
"Name": "panic",
|
||||||
|
"Stacktrace": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"Options": {
|
||||||
|
"Out": "stdout"
|
||||||
|
},
|
||||||
|
"MaxQueueSize": 1000
|
||||||
|
},
|
||||||
|
"file-log": {
|
||||||
|
"Type": "file",
|
||||||
|
"Format": "json",
|
||||||
|
"Levels": [
|
||||||
|
{
|
||||||
|
"ID": 10,
|
||||||
|
"Name": "stdlog",
|
||||||
|
"Stacktrace": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ID": 5,
|
||||||
|
"Name": "debug",
|
||||||
|
"Stacktrace": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ID": 4,
|
||||||
|
"Name": "info",
|
||||||
|
"Stacktrace": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ID": 3,
|
||||||
|
"Name": "warn",
|
||||||
|
"Stacktrace": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ID": 2,
|
||||||
|
"Name": "error",
|
||||||
|
"Stacktrace": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ID": 1,
|
||||||
|
"Name": "fatal",
|
||||||
|
"Stacktrace": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ID": 0,
|
||||||
|
"Name": "panic",
|
||||||
|
"Stacktrace": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"Options": {
|
||||||
|
"Compress": true,
|
||||||
|
"Filename": "./logs/advancedNotificationLogs.log",
|
||||||
|
"MaxAgeDays": 15,
|
||||||
|
"MaxBackups": 3,
|
||||||
|
"MaxSizeMB": 100
|
||||||
|
},
|
||||||
|
"MaxQueueSize": 1000
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"LdapSettings": {
|
||||||
|
"Enable": true,
|
||||||
|
"EnableSync": true,
|
||||||
|
"LdapServer": "openldap",
|
||||||
|
"LdapPort": 10389,
|
||||||
|
"ConnectionSecurity": "",
|
||||||
|
"BaseDN": "dc=planetexpress,dc=com",
|
||||||
|
"BindUsername": "cn=admin,dc=planetexpress,dc=com",
|
||||||
|
"BindPassword": "GoodNewsEveryone",
|
||||||
|
"UserFilter": "(objectClass=Person)",
|
||||||
|
"GroupFilter": "(objectClass=Group)",
|
||||||
|
"GuestFilter": "",
|
||||||
|
"EnableAdminFilter": true,
|
||||||
|
"AdminFilter": "(memberof=cn=admin_staff,ou=people,dc=planetexpress,dc=com)",
|
||||||
|
"GroupDisplayNameAttribute": "cn",
|
||||||
|
"GroupIdAttribute": "cn",
|
||||||
|
"FirstNameAttribute": "givenName",
|
||||||
|
"LastNameAttribute": "sn",
|
||||||
|
"EmailAttribute": "mail",
|
||||||
|
"UsernameAttribute": "uid",
|
||||||
|
"NicknameAttribute": "",
|
||||||
|
"IdAttribute": "uid",
|
||||||
|
"PositionAttribute": "",
|
||||||
|
"LoginIdAttribute": "uid",
|
||||||
|
"PictureAttribute": "jpegPhoto",
|
||||||
|
"SyncIntervalMinutes": 60,
|
||||||
|
"SkipCertificateVerification": false,
|
||||||
|
"PublicCertificateFile": "",
|
||||||
|
"PrivateKeyFile": "",
|
||||||
|
"QueryTimeout": 60,
|
||||||
|
"MaxPageSize": 0,
|
||||||
|
"LoginFieldName": "",
|
||||||
|
"LoginButtonColor": "#0000",
|
||||||
|
"LoginButtonBorderColor": "#2389D7",
|
||||||
|
"LoginButtonTextColor": "#2389D7",
|
||||||
|
"Trace": false
|
||||||
|
},
|
||||||
|
"SamlSettings": {
|
||||||
|
"Enable": true,
|
||||||
|
"EnableSyncWithLdap": true,
|
||||||
|
"EnableSyncWithLdapIncludeAuth": true,
|
||||||
|
"IgnoreGuestsLdapSync": false,
|
||||||
|
"Verify": false,
|
||||||
|
"Encrypt": false,
|
||||||
|
"SignRequest": false,
|
||||||
|
"IdpURL": "http://localhost:8080/realms/master/protocol/saml",
|
||||||
|
"IdpDescriptorURL": "http://localhost:8080/realms/master",
|
||||||
|
"IdpMetadataURL": "http://cs-repro-keycloak:8080/realms/master/protocol/saml/descriptor",
|
||||||
|
"ServiceProviderIdentifier": "mattermost",
|
||||||
|
"AssertionConsumerServiceURL": "http://localhost:8065/login/sso/saml",
|
||||||
|
"SignatureAlgorithm": "RSAwithSHA1",
|
||||||
|
"CanonicalAlgorithm": "Canonical1.0",
|
||||||
|
"ScopingIDPProviderId": "",
|
||||||
|
"ScopingIDPName": "",
|
||||||
|
"IdpCertificateFile": "samlCert.crt",
|
||||||
|
"PublicCertificateFile": "",
|
||||||
|
"PrivateKeyFile": "",
|
||||||
|
"IdAttribute": "id",
|
||||||
|
"GuestAttribute": "",
|
||||||
|
"EnableAdminAttribute": false,
|
||||||
|
"AdminAttribute": "",
|
||||||
|
"FirstNameAttribute": "",
|
||||||
|
"LastNameAttribute": "",
|
||||||
|
"EmailAttribute": "email",
|
||||||
|
"UsernameAttribute": "username",
|
||||||
|
"NicknameAttribute": "",
|
||||||
|
"LocaleAttribute": "",
|
||||||
|
"PositionAttribute": "",
|
||||||
|
"LoginButtonText": "keycloak",
|
||||||
|
"LoginButtonColor": "#34a28b",
|
||||||
|
"LoginButtonBorderColor": "#2389D7",
|
||||||
|
"LoginButtonTextColor": "#ffffff"
|
||||||
|
},
|
||||||
|
"MetricsSettings": {
|
||||||
|
"Enable": true,
|
||||||
|
"BlockProfileRate": 0,
|
||||||
|
"ListenAddress": ":8067"
|
||||||
|
},
|
||||||
|
"ElasticsearchSettings": {
|
||||||
|
"ConnectionURL": "http://cs-repro-elasticsearch:9200",
|
||||||
|
"EnableIndexing": true,
|
||||||
|
"EnableSearching": true,
|
||||||
|
"EnableAutocomplete": true,
|
||||||
|
"Sniff": true,
|
||||||
|
"PostIndexReplicas": 1,
|
||||||
|
"PostIndexShards": 1,
|
||||||
|
"ChannelIndexReplicas": 1,
|
||||||
|
"ChannelIndexShards": 1,
|
||||||
|
"UserIndexReplicas": 1,
|
||||||
|
"UserIndexShards": 1,
|
||||||
|
"AggregatePostsAfterDays": 365,
|
||||||
|
"PostsAggregatorJobStartTime": "03:00",
|
||||||
|
"IndexPrefix": ""
|
||||||
|
},
|
||||||
|
"PluginSettings": {
|
||||||
|
"Enable": true,
|
||||||
|
"EnableUploads": true
|
||||||
|
},
|
||||||
|
"ClusterSettings": {
|
||||||
|
"ClusterName": "mattermost",
|
||||||
|
"ReadOnlyConfig": false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user