Skip to content

Commit

Permalink
feat(types): add PoliciesVersion field to Event (#3528)
Browse files Browse the repository at this point in the history
  • Loading branch information
geyslan authored Sep 29, 2023
1 parent a296eb4 commit 29c9b63
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions types/trace/trace.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ type Event struct {
Kubernetes Kubernetes `json:"kubernetes,omitempty"`
EventID int `json:"eventId,string"`
EventName string `json:"eventName"`
PoliciesVersion uint16 `json:"-"`
MatchedPoliciesKernel uint64 `json:"-"`
MatchedPoliciesUser uint64 `json:"-"`
MatchedPolicies []string `json:"matchedPolicies,omitempty"`
Expand Down

0 comments on commit 29c9b63

Please sign in to comment.