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

Fix reports settings #328

Merged
merged 2 commits into from
Dec 22, 2020
Merged

Fix reports settings #328

merged 2 commits into from
Dec 22, 2020

Conversation

Zenidd
Copy link
Contributor

@Zenidd Zenidd commented Dec 22, 2020

Hi team,

This PR fixes the wrong concat target for reports.pp.
This PR adds multiple email targets capability.

Greetings,

JP

@Zenidd Zenidd self-assigned this Dec 22, 2020
@Zenidd
Copy link
Contributor Author

Zenidd commented Dec 22, 2020

Example configuration snippet

  wazuh::reports { 'report_0':
    r_title  => 'Test report',
    r_email_to => ['example@domain.com','example2@domain.com'],
    r_showlogs    => 'yes',
  }

Related ossec.conf rendered configuration:

<reports>
  <title>Test report</title>
   <email_to>example@domain.com</email_to>
   <email_to>example2@domain.com</email_to>
  <showlogs>yes</showlogs>
</reports>

@Zenidd Zenidd merged commit 61b3b50 into master Dec 22, 2020
@Zenidd Zenidd added this to the Sprint 122 - DevOps milestone Dec 23, 2020
@Zenidd Zenidd deleted the fix-reports-settings branch December 29, 2020 21:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants