Skip to content

Commit

Permalink
Merge pull request #845 from weslambert/fix/wazuh_error_message
Browse files Browse the repository at this point in the history
Fix verbiage for error messages
  • Loading branch information
dadokkio authored Oct 2, 2020
2 parents 43a9821 + c3059cc commit 1fdf89d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions responders/Wazuh/wazuh.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ def __init__(self):
self.wazuh_user = self.get_param('config.wazuh_user', None, 'Username missing!')
self.wazuh_password = self.get_param('config.wazuh_password', None, 'Password missing!')
self.wazuh_agent_id = self.get_param('data.case.customFields.wazuh_agent_id.string', None, "Agent ID Missing!")
self.wazuh_alert_id = self.get_param('data.case.customFields.wazuh_alert_id.string', None, " Missing!")
self.wazuh_rule_id = self.get_param('data.case.customFields.wazuh_rule_id.string', None, "Agent ID Missing!")
self.wazuh_alert_id = self.get_param('data.case.customFields.wazuh_alert_id.string', None, "Alert ID Missing!")
self.wazuh_rule_id = self.get_param('data.case.customFields.wazuh_rule_id.string', None, "Rule ID Missing!")
self.observable = self.get_param('data.data', None, "Data is empty")
self.observable_type = self.get_param('data.dataType', None, "Data type is empty")

Expand Down

0 comments on commit 1fdf89d

Please sign in to comment.