Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuditLogCmd ¶
AuditLogCmd handles audit logs.
func AuthAttemptsCmd ¶ added in v0.313.0
AuthAttemptsCmd wraps commands for authentication-attempt exports.
func DownloadAuthAttemptsCmd ¶ added in v0.313.0
DownloadAuthAttemptsCmd generates an authentication-attempt export, waits for it to finish, and downloads the ZIP file.
Types ¶
type AuditLog ¶
type AuditLog struct {
ID string `header:"id" json:"id"`
Actor string `header:"actor" json:"actor"`
Action string `header:"action" json:"action"`
Event string `header:"event" json:"type"`
RemoteIP string `header:"remote_ip" json:"remote_ip"`
Location string `header:"location" json:"location"`
CreatedAt int64 `header:"created_at,timestamp(ms|utc|human)" json:"created_at"`
// contains filtered or unexported fields
}
func (*AuditLog) MarshalCSVValue ¶
func (a *AuditLog) MarshalCSVValue() interface{}
func (*AuditLog) MarshalJSON ¶
type AuthAttemptExportDownload ¶ added in v0.313.0
type AuthAttemptExportDownload struct {
ID string `header:"id" json:"id"`
State string `header:"state" json:"state"`
Format string `header:"format" json:"format"`
StartAt string `header:"start_at" json:"start_at"`
EndAt string `header:"end_at" json:"end_at"`
File string `header:"file" json:"file"`
}
AuthAttemptExportDownload is the result of downloading an authentication-attempt export.
func (*AuthAttemptExportDownload) MarshalCSVValue ¶ added in v0.313.0
func (a *AuthAttemptExportDownload) MarshalCSVValue() interface{}
Click to show internal directories.
Click to hide internal directories.