You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: github/orgs_audit_log.go
+80-78Lines changed: 80 additions & 78 deletions
Original file line number
Diff line number
Diff line change
@@ -43,84 +43,86 @@ type PolicyOverrideReason struct {
43
43
// AuditEntry describes the fields that may be represented by various audit-log "action" entries.
44
44
// For a list of actions see - https://docs.github.com/en/github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization#audit-log-actions
45
45
typeAuditEntrystruct {
46
-
ActorIP*string`json:"actor_ip,omitempty"`
47
-
Action*string`json:"action,omitempty"`// The name of the action that was performed, for example `user.login` or `repo.create`.
48
-
Active*bool`json:"active,omitempty"`
49
-
ActiveWas*bool`json:"active_was,omitempty"`
50
-
Actor*string`json:"actor,omitempty"`// The actor who performed the action.
Timestamp*Timestamp`json:"@timestamp,omitempty"`// The time the audit log event occurred, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time).
113
-
TokenID*int64`json:"token_id,omitempty"`
114
-
TokenScopes*string`json:"token_scopes,omitempty"`
115
-
Topic*string`json:"topic,omitempty"`
116
-
TransportProtocolName*string`json:"transport_protocol_name,omitempty"`// A human readable name for the protocol (for example, HTTP or SSH) used to transfer Git data.
117
-
TransportProtocol*int`json:"transport_protocol,omitempty"`// The type of protocol (for example, HTTP=1 or SSH=2) used to transfer Git data.
118
-
TriggerID*int64`json:"trigger_id,omitempty"`
119
-
User*string`json:"user,omitempty"`// The user that was affected by the action performed (if available).
120
-
UserAgent*string`json:"user_agent,omitempty"`
121
-
Visibility*string`json:"visibility,omitempty"`// The repository visibility, for example `public` or `private`.
Timestamp*Timestamp`json:"@timestamp,omitempty"`// The time the audit log event occurred, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time).
115
+
TokenID*int64`json:"token_id,omitempty"`
116
+
TokenScopes*string`json:"token_scopes,omitempty"`
117
+
Topic*string`json:"topic,omitempty"`
118
+
TransportProtocolName*string`json:"transport_protocol_name,omitempty"`// A human readable name for the protocol (for example, HTTP or SSH) used to transfer Git data.
119
+
TransportProtocol*int`json:"transport_protocol,omitempty"`// The type of protocol (for example, HTTP=1 or SSH=2) used to transfer Git data.
120
+
TriggerID*int64`json:"trigger_id,omitempty"`
121
+
User*string`json:"user,omitempty"`// The user that was affected by the action performed (if available).
122
+
UserAgent*string`json:"user_agent,omitempty"`
123
+
Visibility*string`json:"visibility,omitempty"`// The repository visibility, for example `public` or `private`.
0 commit comments