Documentation ¶
Index ¶
- func InitAudit(config *AuditConf) error
- func RecordAsyncCompleteEvent(result *scql.SCDBQueryResultResponse)
- func RecordFetchResultEvent(request *scql.SCDBFetchRequest, response *scql.SCDBQueryResultResponse, ...)
- func RecordPlanDetail(partyCode, targetUrl string, req *scql.RunExecutionPlanRequest)
- func RecordRunASyncQueryEvent(request *scql.SCDBQueryRequest, response *scql.SCDBSubmitResponse, ...)
- func RecordRunSyncQueryEvent(request *scql.SCDBQueryRequest, response *scql.SCDBQueryResultResponse, ...)
- func RecordSecurityConfig(cclInfo *scql.SecurityConfig, sessionId string)
- func RecordSessionParameters(params *scql.JobStartParams, targetUrl string, sync bool)
- func RecordUncategorizedEvent(status *status.Status, sourceIp, urlPath string)
- type AuditConf
- type AuditFormatter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RecordAsyncCompleteEvent ¶
func RecordAsyncCompleteEvent(result *scql.SCDBQueryResultResponse)
func RecordFetchResultEvent ¶
func RecordFetchResultEvent(request *scql.SCDBFetchRequest, response *scql.SCDBQueryResultResponse, sourceIp string)
func RecordPlanDetail ¶
func RecordPlanDetail(partyCode, targetUrl string, req *scql.RunExecutionPlanRequest)
func RecordRunASyncQueryEvent ¶
func RecordRunASyncQueryEvent(request *scql.SCDBQueryRequest, response *scql.SCDBSubmitResponse, timeStart time.Time, sourceIp string)
func RecordRunSyncQueryEvent ¶
func RecordRunSyncQueryEvent(request *scql.SCDBQueryRequest, response *scql.SCDBQueryResultResponse, timeStart time.Time, sourceIp string)
func RecordSecurityConfig ¶
func RecordSecurityConfig(cclInfo *scql.SecurityConfig, sessionId string)
func RecordSessionParameters ¶
func RecordSessionParameters(params *scql.JobStartParams, targetUrl string, sync bool)
Types ¶
type AuditConf ¶
type AuditConf struct { AuditLogFile string `yaml:"audit_log_file"` AuditDetailFile string `yaml:"audit_detail_file"` AuditMaxSizeInMegaBytes int `yaml:"audit_max_size"` AuditMaxBackupsCount int `yaml:"audit_max_backups"` AuditMaxAgeInDays int `yaml:"audit_max_age_days"` AuditMaxCompress bool `yaml:"audit_max_compress"` }
type AuditFormatter ¶
type AuditFormatter struct { }
Click to show internal directories.
Click to hide internal directories.