From a9242e4b11b5d025c5cc8463f39076f39982dc2d Mon Sep 17 00:00:00 2001 From: To-om Date: Sat, 20 Mar 2021 08:18:06 +0100 Subject: [PATCH] #1859 Apply default value for webhook authentication --- .../thp/thehive/services/notification/notifiers/Webhook.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/thehive/app/org/thp/thehive/services/notification/notifiers/Webhook.scala b/thehive/app/org/thp/thehive/services/notification/notifiers/Webhook.scala index 69db24a794..b18dd6cb3c 100644 --- a/thehive/app/org/thp/thehive/services/notification/notifiers/Webhook.scala +++ b/thehive/app/org/thp/thehive/services/notification/notifiers/Webhook.scala @@ -2,7 +2,7 @@ package org.thp.thehive.services.notification.notifiers import akka.stream.Materializer import org.apache.tinkerpop.gremlin.structure.Vertex -import org.thp.client.{Authentication, ProxyWS, ProxyWSConfig} +import org.thp.client.{Authentication, NoAuthentication, ProxyWS, ProxyWSConfig} import org.thp.scalligraph.models.{Entity, UMapping} import org.thp.scalligraph.services.config.{ApplicationConfig, ConfigItem} import org.thp.scalligraph.traversal.TraversalOps._ @@ -31,7 +31,7 @@ case class WebhookNotification( name: String, url: String, version: Int = 0, - auth: Authentication, + auth: Authentication = NoAuthentication, wsConfig: ProxyWSConfig = ProxyWSConfig(), includedTheHiveOrganisations: Seq[String] = Seq("*"), excludedTheHiveOrganisations: Seq[String] = Nil