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

IT Integratord: Add new test integratord alerts messages #3125

Merged
merged 45 commits into from
Aug 9, 2022

Conversation

Deblintrake09
Copy link
Contributor

@Deblintrake09 Deblintrake09 commented Jul 25, 2022

Related issue
Closes #2944

Description

This PR aims to add coverage to the Integratord module, by generating alerts and checking the responses on the ossec.log.

Added

The following test modules were added as part of the the new test_integratord test suite

  • test_integratord_change_inode_alert.py
  • test_integratord_read_json_alerts.py
  • test_integratord_read_json_file_deleted.py

Testing performed

Tester Test path Jenkins Local OS Commit Notes
@Deblintrake09 (Developer) 🟢 🟢 🟢 🟢 🟢 🟢 Centos 9ee89bd package
@user (Reviewer) ⚫⚫⚫ 🚫 🚫 🚫 Nothing to highlight

@Deblintrake09 Deblintrake09 changed the title 2944.test.integratord.fix IT Integratord: Add new test integratord alerts messages Jul 25, 2022
@Deblintrake09 Deblintrake09 changed the base branch from master to 4.3 July 26, 2022 12:01
@Deblintrake09 Deblintrake09 marked this pull request as ready for review July 28, 2022 13:55
Copy link
Contributor

@jmv74211 jmv74211 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have only checked the first test case. Please, apply the mentioned changes, and I will review the next ones after that.

@jmv74211 jmv74211 merged commit 998976a into 4.3 Aug 9, 2022
@jmv74211 jmv74211 deleted the 2944.test.integratord.fix branch August 9, 2022 12:16
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.

Create tests for different types of inputs for the integrator module
2 participants