Skip to content

Conversation

@fern-api
Copy link
Contributor

@fern-api fern-api bot commented Oct 29, 2025

This pull request introduces new support for the Attack Protection Bot Detection and CAPTCHA endpoints in the Auth0 Management API SDK, including client implementations and associated tests. It also removes the outdated AGENTS.md documentation file. The most important changes are grouped below:

New Attack Protection Bot Detection API support:

  • Added Client and RawClient implementations for the /attack-protection/bot-detection endpoint, including methods for getting and updating bot detection settings (management/attackprotection/botdetection/client.go, management/attackprotection/botdetection/raw_client.go).
  • Added comprehensive WireMock-based tests for bot detection API, verifying both GET and PATCH operations (management/attackprotection/botdetection/attack_protection_bot_detection_test/attack_protection_bot_detection_test.go).

New Attack Protection CAPTCHA API support:

  • Added Client and RawClient implementations for the /attack-protection/captcha endpoint, supporting get and update operations (management/attackprotection/captcha/client.go).
  • Added WireMock-based tests for CAPTCHA API, covering both GET and PATCH functionality (management/attackprotection/captcha/attack_protection_captcha_test/attack_protection_captcha_test.go).

These changes collectively expand the SDK's coverage of Auth0's Attack Protection features and improve automated test coverage for these endpoints.

@fern-api fern-api bot requested a review from a team as a code owner October 29, 2025 07:11
@codecov-commenter
Copy link

Codecov Report

❌ Patch coverage is 39.27939% with 1028 lines in your changes missing coverage. Please review.
✅ Project coverage is 24.44%. Comparing base (78af21b) to head (aed3c9e).

Files with missing lines Patch % Lines
management/connection_profiles.go 10.89% 761 Missing and 24 partials ⚠️
management/custom_domains.go 5.22% 143 Missing and 2 partials ⚠️
management/connections.go 0.00% 42 Missing ⚠️
management/connectionprofiles/client.go 87.82% 7 Missing and 7 partials ⚠️
management/connectionprofiles/raw_client.go 94.73% 6 Missing and 6 partials ⚠️
management/event_streams.go 0.00% 10 Missing ⚠️
management/attackprotection/botdetection/client.go 85.71% 2 Missing and 2 partials ⚠️
...gement/attackprotection/botdetection/raw_client.go 95.00% 2 Missing and 2 partials ⚠️
management/attackprotection/captcha/client.go 85.71% 2 Missing and 2 partials ⚠️
management/attackprotection/captcha/raw_client.go 95.00% 2 Missing and 2 partials ⚠️
... and 2 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #639      +/-   ##
==========================================
+ Coverage   24.33%   24.44%   +0.11%     
==========================================
  Files         295      300       +5     
  Lines      103678   101286    -2392     
==========================================
- Hits        25226    24759     -467     
+ Misses      76704    74703    -2001     
- Partials     1748     1824      +76     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@developerkunal developerkunal changed the title 🌿 Fern Regeneration -- October 29, 2025 feat(management): add Attack Protection and Superfed Connections client support (Don't merge) Oct 29, 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.

2 participants