update-sources - Update the source index¶
Synopsis¶
suricata-update update-sources
Description¶
The update-sources
command downloads the latest index of available
sources.
Options¶
- -h, --help¶
Show help.
- -D <directory>, --data-dir <directory>¶
Set an alternate data directory.
Default: /var/lib/suricata
- -c <filename>, --config <filename>¶
Path to the suricata-update config file.
Default: /etc/suricata/update.yaml
- -q, --quiet¶
Run quietly. Only warning and error messages will be displayed.
- -v, --verbose¶
Provide more verbose output.
- --suricata-conf <path>¶
Path to the suricata config file.
Default: /etc/suricata/suricata.yaml
- --suricata <path>¶
The path to the Suricata program. If not provided
suricata-update
will attempt to find Suricata on your path.The Suricata program is used to determine the version of Suricata as well as providing information about the Suricata configuration.
- --suricata-version <version>¶
Set the Suricata version to a specific version instead of checking the version of Suricata on the path.
- --user-agent <string>¶
Set a custom user agent string for HTTP requests.
- -s, --show-advanced¶
Show advanced options.
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.