67 lines
2.1 KiB
TOML
67 lines
2.1 KiB
TOML
#############################################################################################################
|
|
# This is the TOML config file for wazuh-notify (active response) for both the Python and Go implementation #
|
|
#############################################################################################################
|
|
|
|
[general]
|
|
# Platforms in this string with comma seperated values are triggered.
|
|
targets = "slack, ntfy, discord"
|
|
|
|
# Platforms in this string will enable sending the full event information.
|
|
full_alert = ""
|
|
|
|
# Exclude rule events that are enabled in the ossec.conf active response definition.
|
|
# These settings provide an easier way to disable events from firing the notifiers.
|
|
excluded_rules = "99999, 00000"
|
|
excluded_agents = "99999"
|
|
|
|
# Exclude specific rules by string contained in description
|
|
# These settings provide an easier way to disable events from firing the notifiers.
|
|
exclude_descriptions = [
|
|
""
|
|
]
|
|
|
|
# The next 2 settings are used to add information to the messages.
|
|
sender = "Wazuh (IDS)"
|
|
click = "https://documentation.wazuh.com/"
|
|
|
|
[discord]
|
|
webhook = "https://discord.com/api/webhooks/XXX"
|
|
|
|
[ntfy]
|
|
webhook = "https://ntfy.sh/XXX"
|
|
|
|
[slack]
|
|
webhook = "https://hooks.slack.com/services/XXX"
|
|
|
|
# Priority mapping from 0-15 (Wazuh threat levels) to 1-5 (in notifications) and their respective colors (Discord)
|
|
# https://documentation.wazuh.com/current/user-manual/ruleset/rules-classification.html
|
|
# Enter threat_map as lists of integers, mention/notify_threshold as integer and color as Hex integer
|
|
[[priority_map]]
|
|
threat_map = [15, 14, 13, 12]
|
|
mention_threshold = 1
|
|
notify_threshold = 1
|
|
color = 0xec3e40 # Red, SEVERE
|
|
|
|
[[priority_map]]
|
|
threat_map = [11, 10, 9]
|
|
mention_threshold = 1
|
|
notify_threshold = 1
|
|
color = 0xff9b2b # Orange, HIGH
|
|
|
|
[[priority_map]]
|
|
threat_map = [8, 7, 6]
|
|
mention_threshold = 5
|
|
notify_threshold = 5
|
|
color = 0xf5d800 # Yellow, ELEVATED
|
|
|
|
[[priority_map]]
|
|
threat_map = [5, 4]
|
|
mention_threshold = 20
|
|
notify_threshold = 5
|
|
color = 0x377fc7 # Blue, GUARDED
|
|
|
|
[[priority_map]]
|
|
threat_map = [3, 2, 1, 0]
|
|
mention_threshold = 20
|
|
notify_threshold = 1
|
|
color = 0x01a465 # Green, LOW |