* New auditing API outputting to syslog via TLS * New config section for specifying remote syslog server IP, port, and cert. * Legacy audit API retained for access history feature
21 строка
409 B
Go
21 строка
409 B
Go
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
package audit
|
|
|
|
const (
|
|
DefMaxQueueSize = 1000
|
|
|
|
KeyAPIPath = "api_path"
|
|
KeyEvent = "event"
|
|
KeyStatus = "status"
|
|
KeyUserID = "user_id"
|
|
KeySessionID = "session_id"
|
|
KeyClient = "client"
|
|
KeyIPAddress = "ip_address"
|
|
|
|
Success = "success"
|
|
Attempt = "attempt"
|
|
Fail = "fail"
|
|
)
|