Skip to content

Commit

Permalink
#1859 Apply default value for webhook authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed Mar 20, 2021
1 parent 1a94cae commit a9242e4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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._
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit a9242e4

Please sign in to comment.