mirror of
https://github.com/SecurityBrewery/catalyst.git
synced 2026-04-26 20:47:46 +02:00
fix: reaction names (#1098)
This commit is contained in:
+2
-2
@@ -316,7 +316,7 @@ func reactionRecords(dao *daos.Dao) []*models.Record {
|
|||||||
|
|
||||||
record := models.NewRecord(collection)
|
record := models.NewRecord(collection)
|
||||||
record.SetId("w_" + security.PseudorandomString(10))
|
record.SetId("w_" + security.PseudorandomString(10))
|
||||||
record.Set("name", "Test Reaction")
|
record.Set("name", "Alert Ingest Webhook")
|
||||||
record.Set("trigger", "webhook")
|
record.Set("trigger", "webhook")
|
||||||
record.Set("triggerdata", triggerWebhook)
|
record.Set("triggerdata", triggerWebhook)
|
||||||
record.Set("action", "python")
|
record.Set("action", "python")
|
||||||
@@ -334,7 +334,7 @@ func reactionRecords(dao *daos.Dao) []*models.Record {
|
|||||||
|
|
||||||
record = models.NewRecord(collection)
|
record = models.NewRecord(collection)
|
||||||
record.SetId("w_" + security.PseudorandomString(10))
|
record.SetId("w_" + security.PseudorandomString(10))
|
||||||
record.Set("name", "Test Reaction 2")
|
record.Set("name", "Assign new Tickets")
|
||||||
record.Set("trigger", "hook")
|
record.Set("trigger", "hook")
|
||||||
record.Set("triggerdata", triggerHook)
|
record.Set("triggerdata", triggerHook)
|
||||||
record.Set("action", "python")
|
record.Set("action", "python")
|
||||||
|
|||||||
Reference in New Issue
Block a user