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

FIM System tests: Create first scenario to integrate all actions together #480

Closed
9 tasks done
rshad opened this issue Feb 17, 2020 · 4 comments
Closed
9 tasks done

Comments

@rshad
Copy link
Contributor

rshad commented Feb 17, 2020

Objective

Implement Ansible tasks to run each pair (action,tests) and a global Ansible playbook to launch the pairs (action,test) in a determined order for testing purposes.

Tasks

  • Create required variables for all actions and playbooks (@jm404 )

  • Create ossec.conf and defaults configuration for the scenario (@DFolchA )

  • Create playbook launch_scenario.yml which has the following subtasks

  • Create tasks for verify JSON and ES tests with updated variables (@DFolchA)

  • Test whole scenario together

@rshad rshad self-assigned this Feb 17, 2020
@rshad rshad added this to the Sprint 107 - DevOps milestone Feb 17, 2020
@rshad rshad changed the title FIM System tests: Create a playbook to launch the common tasks FIM System tests: Create Ansible tasks to run each pair of scenario (actions,tests) and playbook to run all pairs (action+test) Feb 17, 2020
@rshad rshad changed the title FIM System tests: Create Ansible tasks to run each pair of scenario (actions,tests) and playbook to run all pairs (action+test) FIM System tests: Create Ansible tasks to run each pair of scenario (actions,tests) and playbook to run all of them Feb 17, 2020
@rshad rshad changed the title FIM System tests: Create Ansible tasks to run each pair of scenario (actions,tests) and playbook to run all of them FIM System tests: Create Ansible tasks to run each pair (actions,tests) and playbook to run all of them Feb 17, 2020
@rshad
Copy link
Contributor Author

rshad commented Feb 17, 2020

Working branch: feature-480-ansible-tasks-actions-tests.

@rshad rshad changed the title FIM System tests: Create Ansible tasks to run each pair (actions,tests) and playbook to run all of them FIM System tests: Create Ansible tasks to run each pair (actions,tests) and a playbook to run all of them Feb 18, 2020
@jm404 jm404 changed the title FIM System tests: Create Ansible tasks to run each pair (actions,tests) and a playbook to run all of them FIM System tests: Create first scenario to integrate all actions together Feb 18, 2020
@jm404 jm404 assigned xr09 and jm404 Feb 18, 2020
@DFolchA DFolchA self-assigned this Feb 19, 2020
@xr09
Copy link
Contributor

xr09 commented Feb 20, 2020

Contributions

  • Updated parameters for generate and modify scripts. (following the defined format)
  • Tuned tasks for executing file creation, change and deletion on Linux and Windows
  • Improved file creation algorithm (less ram usage, making every file truly unique)

@DFolchA
Copy link
Contributor

DFolchA commented Feb 20, 2020

Hello team,

For this issue I have contributed the following items:

  • Continue working on launch_scenario.yml with @jm404
  • Create handlers for the scenarios.
  • Create tasks to launch the alert verification scripts.
  • Fixed some mistakes with become and windows tasks
  • Created the ossec.conf files for this scenario.

I have also tested the scenario in my local environment.

Regards,
Daniel Folch

@jm404
Copy link
Contributor

jm404 commented Feb 24, 2020

Done in #521

@jm404 jm404 closed this as completed Feb 24, 2020
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

No branches or pull requests

4 participants