summaryrefslogtreecommitdiff
path: root/shrine/types/audit/response.go
blob: 3fa2e89448060a67077f5f7bfb95eb66f4c84ee7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package audit

import "time"

type AuditLogResponse struct {
	SystemRef  string    `json:"system_ref"`
	Actor      string    `json:"actor"`
	Action     string    `json:"action"`
	TargetType string    `json:"target_type"`
	TargetRef  string    `json:"target_ref"`
	Summary    string    `json:"summary"`
	CreatedAt  time.Time `json:"created_at"`
}

type DetailResponse struct {
	AuditLogResponse
	Details string `json:"details"`
}