Skip to content

feat: add hostnames and connecting IP CIDR fields to network ACL match schema#1386

Draft
harshithRai wants to merge 2 commits into
masterfrom
DXCDT-1627
Draft

feat: add hostnames and connecting IP CIDR fields to network ACL match schema#1386
harshithRai wants to merge 2 commits into
masterfrom
DXCDT-1627

Conversation

@harshithRai
Copy link
Copy Markdown

🔧 Changes

Extends the Network ACL match and not_match schema to support three new fields introduced in the Auth0 Management API:

  • hostnames - list of hostname strings, allowing rules to match/block traffic to the tenant's canonical domain
  • connecting_ipv4_cidrs - list of IPv4 CIDR strings (same format as ipv4_cidrs)
  • connecting_ipv6_cidrs - list of IPv6 CIDR strings (same format as ipv6_cidrs)

These fields are optional and follow the same shape as existing array match fields.

🔬 Testing

Three new unit tests added to test/tools/auth0/handlers/networkACLs.test.ts, one per new field, verifying that schema validation passes when each field is used in a rule's match or not_match.

📝 Checklist

  • All new/changed/fixed functionality is covered by tests (or N/A)
  • I have added documentation for all new/changed functionality (or N/A)

@harshithRai harshithRai requested a review from a team as a code owner May 13, 2026 06:05
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.84%. Comparing base (eb215ab) to head (67fc0af).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1386   +/-   ##
=======================================
  Coverage   79.84%   79.84%           
=======================================
  Files         153      153           
  Lines        7052     7052           
  Branches     1547     1547           
=======================================
  Hits         5631     5631           
  Misses        781      781           
  Partials      640      640           

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@harshithRai harshithRai changed the title Dxcdt 1627 feat: add hostnames and connecting IP CIDR fields to network ACL match schema May 13, 2026
@harshithRai harshithRai marked this pull request as draft May 14, 2026 06:13
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