Skip to content

Commit

Permalink
#359 Add "autonomous-systems" to the default datatype list
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed Nov 20, 2017
1 parent 955bc67 commit f139c9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thehive-backend/app/models/Migration.scala
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class Migration(
logger.info("Updating observable data type list")
val dataTypes = dblists.apply("list_artifactDataType")
Future.sequence(Seq("filename", "fqdn", "url", "user-agent", "domain", "ip", "mail_subject", "hash", "mail",
"registry", "uri_path", "regexp", "other", "file")
"registry", "uri_path", "regexp", "other", "file", "autonomous-system")
.map(dt dataTypes.addItem(dt).recover { case _ () }))
.map(_ ())
.recover { case _ () }
Expand Down

0 comments on commit f139c9a

Please sign in to comment.