summaryrefslogtreecommitdiffstats
path: root/doc/update-sources.rst
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 17:43:34 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 17:43:34 +0000
commit0fcce96a175531ec6042cde1b11a0052aa261dd5 (patch)
tree898a1e161c4984b41e6a732866bd73b24f0f7b7a /doc/update-sources.rst
parentInitial commit. (diff)
downloadsuricata-update-0fcce96a175531ec6042cde1b11a0052aa261dd5.tar.xz
suricata-update-0fcce96a175531ec6042cde1b11a0052aa261dd5.zip
Adding upstream version 1.3.2.upstream/1.3.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'doc/update-sources.rst')
-rw-r--r--doc/update-sources.rst40
1 files changed, 40 insertions, 0 deletions
diff --git a/doc/update-sources.rst b/doc/update-sources.rst
new file mode 100644
index 0000000..ade1246
--- /dev/null
+++ b/doc/update-sources.rst
@@ -0,0 +1,40 @@
+########################################
+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://www.openinfosecfoundation.org/rules/index.yaml``
+ The default URL used to download the index from.