The URL of the source. If not provided on the command line the user
will be prompted.
+.. include:: ./common-options.rst
--- /dev/null
+.. option:: -q, --quiet
+
+ Run quietly. Only warning and error messages will be displayed.
+
+.. option:: -v, --verbose
+
+ Provide more verbose output.
quickstart
update
add-source
+ update-sources
--- /dev/null
+########################################
+update-sources - Update the source index
+########################################
+
+Synopsis
+========
+
+::
+
+ suricata-update update-sources
+
+Description
+===========
+
+The ``update-sources`` command downloads the latest index of available
+sources.
+
+Options
+=======
+
+.. include:: common-options.rst
+
+Files and Directories
+=====================
+
+``/var/lib/suricata/rules/.cache/index.yaml``
+ Where the downloaded source index is cached.
+
+Environment Variables
+=====================
+
+**SOURCE_INDEX_URL**
+ This environment variable allows the specification of an alternate
+ URL to download the index from.
+
+URLs
+====
+
+``https://raw.githubusercontent.com/jasonish/suricata-intel-index/master/index.yaml``
+ The default URL used to download the index from.
Show help.
-.. option:: -v, --verbose
-
- Be more verbose.
-
.. option:: -c <filename>, --config <filename>
Path to the suricata-update config file.
URLs provided on the command line or sources provided in the
configuration.
-.. option:: -q, --quiet
-
- Run quietly. Only warning and error message will be displayed.
-
.. option:: --dump-sample-configs
Output sample configuration files for the ``--disable``,
Display the version of **suricata-update**.
+.. include:: ./common-options.rst
+
Rule Matching
=============