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

[CAUTH-1270]: feat(attack protection): add three features (bf, sipt, bpd) #692

Closed
wants to merge 3 commits into from

Conversation

pmalouin
Copy link
Contributor

Changes

Add three Attack-Protection management API features:

  • Brute-Force Protection
  • Suspicious IP Throttling
  • Breached Password Detection

References

Please include relevant links supporting this change such as a:

  • support ticket
  • community post
  • StackOverflow post
  • support forum thread

Testing

Please describe how this can be tested by reviewers. Be specific about anything not tested and reasons why. If this library has unit and/or integration testing, tests should be added for new functionality and existing tests should complete without errors.

  • This change adds unit test coverage
  • This change adds integration test coverage

Checklist

sdwvit and others added 3 commits October 20, 2021 15:39
…points support (#666)

* src/management/AttackProtectionManager.js:
src/management/index.js:
- add AttackProtectionManager with Brute force protection endpoints

test/management/attack-protection.tests.js:
- add tests for newly added methods

* src/management/index.js:
- add alias methods

* Update test/management/attack-protection.tests.js

Co-authored-by: Joshua Casey <[email protected]>

* AttackProtectionManager.js:
src/management/index.js:
attack-protection.tests.js:
 - change case bruteforce -> bruteForce as these are 2 separate words per pr comment suggestion
 - use deep equals in tests instead of 1 property comparison

* Update src/management/AttackProtectionManager.js

Co-authored-by: Adam Mcgrath <[email protected]>

* src/management/index.js:
- remove alias methods

Co-authored-by: Joshua Casey <[email protected]>
Co-authored-by: Adam Mcgrath <[email protected]>
Co-authored-by: Adam Mcgrath <[email protected]>
…ndpoints support (#672)

* AttackProtectionManager.js:
attack-protection.tests.js:
- add suspicious IP throttling endpoints + tests

* attack-protection.tests.js:
- fix mock data to look like real suspicious IP throttling config
…n endpoints (#676)

* AttackProtectionManager.js:
attack-protection.tests.js:
- add breached password detection methods

* attack-protection.tests.js:
- typo

* attack-protection.tests.js:
- bad copypaste in previous pr
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