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

E2E tests: Fix Brute Force tests #3235

Merged
merged 3 commits into from
Sep 1, 2022
Merged

Conversation

mauromalara
Copy link
Contributor

Related issue
#3208

Description

I fixed the test_brute_force_rdp test by specifying the version of Hydra to be installed (v9.2).

Also, I added a role task to search for the alert before fetching the alerts.json.

Added

  • search_alert.yaml role task

Updated

  • "Generate events" playbooks
  • Test cases files

Testing performed

Results Note
🟢 (6 rounds) In R2 and R6 RDP fails, so I fixed the error by removing the failed_when condition because it's unnecessary (the command is executed but ansible does not wait for it to finish)
🟢 6 rounds of RDP only to check the change mentioned in the previous note.

@mauromalara mauromalara requested a review from jmv74211 September 1, 2022 15:25
@mauromalara mauromalara changed the base branch from master to 2872-tests-e2e September 1, 2022 15:26
@mauromalara mauromalara self-assigned this Sep 1, 2022
@jmv74211 jmv74211 merged commit d73f9df into 2872-tests-e2e Sep 1, 2022
@jmv74211 jmv74211 deleted the 3208-fix-e2e-test-rdp branch September 1, 2022 16:00
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.

2 participants