Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sebasslash committed Jun 2, 2022
1 parent 9c36e74 commit ab0323e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions audit_trail.go
Expand Up @@ -45,10 +45,10 @@ type AuditTrailAuth struct {

// AuditTrailResource represents the details of the API resource in the audit event.
type AuditTrailResource struct {
ID string `json:"id"`
Type string `json:"type"`
Action string `json:"action"`
Meta *map[string]interface{} `json:"meta"`
ID string `json:"id"`
Type string `json:"type"`
Action string `json:"action"`
Meta map[string]interface{} `json:"meta"`
}

// AuditTrail represents an event in the TFC audit log.
Expand All @@ -58,9 +58,9 @@ type AuditTrail struct {
Type string `json:"type"`
Timestamp time.Time `json:"timestamp"`

Auth *AuditTrailAuth `json:"auth"`
Request *AuditTrailRequest `json:"request"`
Resource *AuditTrailResource `json:"resource"`
Auth AuditTrailAuth `json:"auth"`
Request AuditTrailRequest `json:"request"`
Resource AuditTrailResource `json:"resource"`
}

// AuditTrailList represents a list of audit trails.
Expand Down

0 comments on commit ab0323e

Please sign in to comment.