github.com/haalcala/mattermost-server-change-repo/v5@v5.33.2/audit/const.go (about)

     1  // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
     2  // See LICENSE.txt for license information.
     3  
     4  package audit
     5  
     6  const (
     7  	DefMaxQueueSize = 1000
     8  
     9  	KeyAPIPath   = "api_path"
    10  	KeyEvent     = "event"
    11  	KeyStatus    = "status"
    12  	KeyUserID    = "user_id"
    13  	KeySessionID = "session_id"
    14  	KeyClient    = "client"
    15  	KeyIPAddress = "ip_address"
    16  	KeyClusterID = "cluster_id"
    17  
    18  	Success = "success"
    19  	Attempt = "attempt"
    20  	Fail    = "fail"
    21  )