Skip to content

Conversation

@kushalshit27
Copy link
Contributor

@kushalshit27 kushalshit27 commented Nov 3, 2025

Changes

This PR fixes failing tests in attack-protection.test.ts by updating the bot detection challenge policy values to use the correct enum values.

Updated the test data in test/management/attack-protection.test.ts to use proper enum values for bot detection challenge policies:

  • Changed challenge_passwordless_policy from 'high_risk' to 'when_risky'
  • Changed challenge_password_reset_policy from 'off' to 'never'

Ref: #1213

Testing

  • All tests pass (npm test)

Related

Fixes test failures in the bot detection test suite.

Checklist

@kushalshit27 kushalshit27 requested a review from a team as a code owner November 3, 2025 10:19
@kushalshit27 kushalshit27 merged commit e5ec35e into v4 Nov 3, 2025
1 check passed
@kushalshit27 kushalshit27 deleted the SDK-6856d-fix-test-public-api-for-bot-detection branch November 3, 2025 10:34
@tanya732 tanya732 mentioned this pull request Nov 4, 2025
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.

3 participants