From 1b1952be97953e6814e698b1bc8d04ac32d6b66f Mon Sep 17 00:00:00 2001 From: Steve Garon Date: Thu, 23 Sep 2021 19:52:54 +0000 Subject: [PATCH] Add discover_url param to config --- assemblyline/odm/models/config.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/assemblyline/odm/models/config.py b/assemblyline/odm/models/config.py index 5e0bfa799..a41f7ce2d 100644 --- a/assemblyline/odm/models/config.py +++ b/assemblyline/odm/models/config.py @@ -788,6 +788,8 @@ class UI(odm.Model): banner_level: str = odm.Enum(values=["info", "warning", "success", "error"]) # Turn on debugging debug: bool = odm.Boolean() + # Discover URL + discover_url: str = odm.Optional(odm.Keyword()) # Which encoding will be used download_encoding = odm.Enum(values=["raw", "cart"]) # Assemblyline admins email address @@ -832,6 +834,7 @@ class UI(odm.Model): "banner": None, "banner_level": 'info', "debug": False, + "discover_url": None, "download_encoding": "cart", "email": None, "enforce_quota": True,