Skip to content

Commit

Permalink
Merge pull request #45 from kubescape/incident-respose
Browse files Browse the repository at this point in the history
incident response
  • Loading branch information
amirmalka authored Oct 7, 2024
2 parents 4539d10 + dba0f20 commit 8d6616f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pulsar/common/kdr/datastructures.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ type RuntimeIncidentIngesterOnFinishedMessage struct {
IncidentName string `json:"incidentName"` // incidentType.Name - ThreatName
Severity string `json:"severity"`
Resource identifiers.PortalDesignator `json:"resource"` // Pod, Node, Workload, Namespace, Cluster, etc.
ResponseUpdated bool `json:"responseUpdated,omitempty"`
Response *RuntimeIncidentResponse `json:"response,omitempty"`
}

type RuntimeIncidentResponse struct {
Action string `json:"action"`
}

func (si *RuntimeIncidentIngesterOnFinishedMessage) GetLoggerFields() []zap.Field {
Expand Down

0 comments on commit 8d6616f

Please sign in to comment.