Skip to content

Commit

Permalink
Update URLs for suricata rules downloads
Browse files Browse the repository at this point in the history
  • Loading branch information
dcode committed May 10, 2019
1 parent 3127bb7 commit 51498a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion ansible/roles/common/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@

- name: download ET Suricata rules
get_url:
url: https://rules.emergingthreats.net/open/suricata/emerging.rules.tar.gz
url: https://rules.emergingthreats.net/open/suricata-4.0/emerging.rules.tar.gz
checksum: "md5:https://rules.emergingthreats.net/open/suricata-4.0/emerging.rules.tar.gz.md5"
dest: "{{ rock_cache_dir }}/support/emerging.rules-suricata.tar.gz"
mode: 0644

Expand Down
2 changes: 1 addition & 1 deletion offline-snapshot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ function offline-snapshot () {
echo "Downloading ET Suricata rules..."
# ET Rules - Suricata
curl -Ls -o emerging.rules-suricata.tar.gz \
'https://rules.emergingthreats.net/open/suricata/emerging.rules.tar.gz'
'https://rules.emergingthreats.net/open/suricata-4.0/emerging.rules.tar.gz'

if [ "${SKIP_GPG}" -eq "0" ]; then
gpg2 --detach-sign --yes --armor -u [email protected] emerging.rules-suricata.tar.gz
Expand Down

0 comments on commit 51498a5

Please sign in to comment.