Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Claudius committed Oct 3, 2019
1 parent 970ced1 commit ac62582
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion alerts/ldap_bruteforce.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def main(self):
TermMatch('details.response.error', 'LDAP_INVALID_CREDENTIALS'),
])

for host_exclusion in self.config.host_exclusion.split(","):
for host_exclusion in self.config.host_exclusions.split(","):
search_query.add_must_not([TermMatch("details.server", host_exclusion)])

self.filtersManual(search_query)
Expand Down
1 change: 1 addition & 0 deletions tests/alerts/test_ldap_bruteforce.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ class TestAlertLdapBruteforce(AlertTestSuite):
]
}
],
"server": "ldap.example.com",
"user": "jsmith@example.com",
"response": {
"error": 'LDAP_INVALID_CREDENTIALS',
Expand Down

0 comments on commit ac62582

Please sign in to comment.