Skip to content

Commit

Permalink
Merge pull request #1047 from JustinJudd/master
Browse files Browse the repository at this point in the history
Added Details field to Audit event entries
  • Loading branch information
kanata2 committed Apr 23, 2022
2 parents 03f86be + 4dbc82c commit 835fab1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions audit.go
Expand Up @@ -39,6 +39,16 @@ type AuditEntry struct {
UA string `json:"ua"`
IPAddress string `json:"ip_address"`
} `json:"context"`
Details struct {
NewValue interface{} `json:"new_value"`
PreviousValue interface{} `json:"previous_value"`
MobileOnly bool `json:"mobile_only"`
WebOnly bool `json:"web_only"`
NonSSOOnly bool `json:"non_sso_only"`
ExportType string `json:"export_type"`
ExportStart string `json:"export_start_ts"`
ExportEnd string `json:"export_end_ts"`
} `json:"details"`
}

type AuditUser struct {
Expand Down

0 comments on commit 835fab1

Please sign in to comment.