Skip to content

Commit

Permalink
Merge pull request #164 from armosec/add-ac-events
Browse files Browse the repository at this point in the history
adding AC structs
  • Loading branch information
yuleib authored Oct 26, 2023
2 parents 52e5c6b + 345cd12 commit ba9c5e6
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions broadcastevents/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,26 @@ type EventBase struct {
EventWeekOfTheYear int `json:"eventWeekOfTheYear,omitempty"`
}

type AttackChainCreated struct {
EventBase `json:",inline"`
ClusterName string `json:"clusterName"`
KSVersion string `json:"kubescapeVersion,omitempty"`
ACName string `json:"ACName"`
ACId string `json:"ACId"`
ACType string `json:"ACType"`
ACFirstSeeing string `json:"ACFirstSeeing"`
}

type AttackChainResolved struct {
EventBase `json:",inline"`
ClusterName string `json:"clusterName"`
KSVersion string `json:"kubescapeVersion,omitempty"`
ACName string `json:"ACName"`
ACId string `json:"ACId"`
ACType string `json:"ACType"`
ACFirstSeeing string `json:"ACFirstSeeing"`
}

type AggregationEvent struct {
EventBase `json:",inline"`
JobID string `json:"jobID"`
Expand Down

0 comments on commit ba9c5e6

Please sign in to comment.