mattermost/utils
Doug Lauder 56fb31f06f
MM-22784 Advanced logging config for audit (#15076)
Adds the advanced logging config for audit. Existing support for auditing to a single file remains for E0 and E10 licenses instances, and a new config item ExperimentalAuditSettings.AdvancedLoggingConfig is added that behaves like LogSettings.AdvancedLoggingConfig.

Supported destinations:

- file
- syslog (with out without TLS)
- raw TCP socket (with out without TLS)

ExperimentalAuditSettings.AdvancedLoggingConfig can contain a filespec to a config file, a database DSN, or JSON.

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Claudio Costa <cstcld91@gmail.com>
2020-07-22 18:48:46 -04:00
..
fileutils MM-23706 search executable dir before working dir when looking for i18n (#14241) 2020-05-14 20:11:22 -04:00
imgutils Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
jsonutils Not skiping tests on commands, and removing unnecesary main_test.go files (#14032) 2020-03-11 16:25:45 +01:00
markdown Not skiping tests on commands, and removing unnecesary main_test.go files (#14032) 2020-03-11 16:25:45 +01:00
testutils MM-26883/26884: properly identify interface name for test services (#15040) 2020-07-17 14:32:07 +05:30
api.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
api_test.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
authorization.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
authorization_test.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
backoff.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
backoff_test.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
emoji.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
file.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
file_test.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
hash.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
html.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
html_test.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
i18n.go MM-23706 search executable dir before working dir when looking for i18n (#14241) 2020-05-14 20:11:22 -04:00
license.go license: dropping PhoneNumber field from the license (#14307) 2020-04-20 14:20:35 +02:00
license_test.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
logger.go MM-22784 Advanced logging config for audit (#15076) 2020-07-22 18:48:46 -04:00
merge.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
merge_test.go Use require/assert.Empty instead of require/assert.Len(t, X, 0) (#13413) 2019-12-22 12:35:31 +01:00
password.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
password_test.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
policies-roles-mapping.json MM-14845: Updates default permissions. (#10590) 2019-04-12 18:00:57 +01:00
random.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
subpath.go MM-23574: Remove Segment. (#14712) 2020-06-22 08:35:03 +01:00
subpath_test.go MM-23574: Remove Segment. (#14712) 2020-06-22 08:35:03 +01:00
test_files_compiler.go MM-23817: Use auto-vendoring (#14231) 2020-04-07 09:01:06 +05:30
textgeneration.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
time.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
time_test.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
urlencode.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
urlencode_test.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
utils.go MM-22212 & MM-22208: Read from the higher-scoped scheme if the permission is non-moderated. (#13813) 2020-03-23 13:44:20 -04:00
utils_test.go Use require/assert.Empty instead of require/assert.Len(t, X, 0) (#13413) 2019-12-22 12:35:31 +01:00