summaryrefslogtreecommitdiffstats
path: root/doc/enable-source.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/enable-source.rst')
-rw-r--r--doc/enable-source.rst35
1 files changed, 35 insertions, 0 deletions
diff --git a/doc/enable-source.rst b/doc/enable-source.rst
new file mode 100644
index 0000000..476b87f
--- /dev/null
+++ b/doc/enable-source.rst
@@ -0,0 +1,35 @@
+###############################
+enable-source - Enable a source
+###############################
+
+Synopsis
+========
+
+::
+
+ suricata-update enable-source <source-name> [param=val ...]
+
+Description
+===========
+
+Enable a source that is listed in the index.
+
+If the index requires user provided parameters the user will be
+prompted for them. Alternatively they can be provided on command line
+to avoid the prompt.
+
+For example::
+
+ suricata-update enable-source et/pro secret-code=xxxxxxxxxxxxxxxx
+
+This will prevent the prompt for the et/pro secret code using the
+value provided on the command line instead.
+
+To update parameters for enabled sources, just re-run the ``enable-source``
+command above again with changed parameters. Changed parameters will be
+updated in the stored configuration.
+
+Options
+=======
+
+.. include:: ./common-options.rst