Skip to content

Commit

Permalink
fix: obtain snort3 rules from the snort repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ArmandMeppa committed Jan 27, 2025
1 parent 9eabe99 commit ad8cc3b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,9 @@ install_snort_macos() {
fi

info_message "Downloading and configuring Snort rule files"
maybe_sudo curl -SL -s https://raw.githubusercontent.com/ADORSYS-GIS/wazuh-snort/main/rules/snort3.rules > "/usr/local/etc/rules/snort3-community.rules"
maybe_sudo curl -SL --progress-bar -o community-rules.tar.gz https://www.snort.org/downloads/community/snort3-community-rules.tar.gz
maybe_sudo tar -xvzf community-rules.tar.gz -C /usr/local/etc/rules --strip-components=1
maybe_sudo rm community-rules.tar.gz
info_message "Snort rule files downloaded and configured successfully"

info_message "Creating plist file..."
Expand Down

0 comments on commit ad8cc3b

Please sign in to comment.