Skip to content

Commit

Permalink
Merge pull request #18 from ADORSYS-GIS/develop
Browse files Browse the repository at this point in the history
fix: obtain snort3 rules from the snort repo
  • Loading branch information
ArmandMeppa authored Jan 27, 2025
2 parents a76c629 + ad8cc3b commit a1f79a0
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 a1f79a0

Please sign in to comment.