Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
Signed-off-by: jnathangreeg <[email protected]>
  • Loading branch information
jnathangreeg committed Aug 25, 2024
1 parent a181a18 commit 11c136d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions admission/rules/v1/r2000_exec_to_pod.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ func (rule *R2000ExecToPod) ProcessEvent(event admission.Attributes, access inte
RuntimeAlertK8sDetails: apitypes.RuntimeAlertK8sDetails{
PodName: event.GetName(),
Namespace: event.GetNamespace(),
// new fields for incidents aggregation
WorkloadName: workloadName,
WorkloadNamespace: workloadNamespace,
WorkloadKind: workloadKind,
Expand Down

0 comments on commit 11c136d

Please sign in to comment.