Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Active response manager settings present on agent manifests #330

Closed
Zenidd opened this issue Dec 24, 2020 · 0 comments
Closed

Active response manager settings present on agent manifests #330

Zenidd opened this issue Dec 24, 2020 · 0 comments
Assignees

Comments

@Zenidd
Copy link
Contributor

Zenidd commented Dec 24, 2020

Hi team,

Description

  • The active-response module uses the following options in the agent side:

image

  • However, the agent module wrongly includes variables only related to the manager:

image

Related lines

# active response
$active_response_disabled = 'no'
$active_response_ca_verification = 'yes'
$active_response_location = undef
$active_response_level = undef
$active_response_agent_id = undef
$active_response_rules_id = []
$active_response_timeout = undef
$active_response_repeated_offenders = []

# active-response
$ossec_active_response_disabled = $wazuh::params_agent::active_response_disabled,
$ossec_active_response_linux_ca_store = $wazuh::params_agent::active_response_linux_ca_store,
$ossec_active_response_ca_verification = $wazuh::params_agent::active_response_ca_verification,
$ossec_active_response_command = $wazuh::params_agent::active_response_command,
$ossec_active_response_location = $wazuh::params_agent::active_response_location,
$ossec_active_response_level = $wazuh::params_agent::active_response_level,
$ossec_active_response_agent_id = $wazuh::params_agent::active_response_agent_id,
$ossec_active_response_rules_id = $wazuh::params_agent::active_response_rules_id,
$ossec_active_response_timeout = $wazuh::params_agent::active_response_timeout,
$ossec_active_response_repeated_offenders = $wazuh::params_agent::active_response_repeated_offenders,

Also, the render target for active-response module in the agent side still points to the old concat target ossec.conf:

Warning: /Stage[main]/Wazuh::Agent/Wazuh::Activeresponse[active-response configuration]/Concat::Fragment[Rendering active-response template]/Concat_fragment[Rendering active-response template]: Target Concat_file with path or title 'ossec.conf' or tag 'ossec.conf not found in the catalog

Greetings,

JP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant