From 1063f48f6013ae18475eabf2a5651367c82ec6de Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Tue, 16 Jan 2018 16:46:13 -0600 Subject: [PATCH] list-sources: print subscribe URL The subscribe URL may be a sentence with a URL in it which may contain useful information. --- suricata/update/commands/listsources.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/suricata/update/commands/listsources.py b/suricata/update/commands/listsources.py index c6be303..26a8540 100644 --- a/suricata/update/commands/listsources.py +++ b/suricata/update/commands/listsources.py @@ -53,3 +53,7 @@ def list_sources(): print(" %s: %s" % ( util.bright_cyan("Parameters"), util.bright_magenta(", ".join(source["parameters"])))) + if "subscribe-url" in source: + print(" %s: %s" % ( + util.bright_cyan("Subscription"), + util.bright_magenta(source["subscribe-url"]))) -- 2.47.3