feat(management): add agents, org clients, network ACL keys, and org role groups - #842
Merged
Merged
Conversation
kailash-b
approved these changes
Aug 5, 2026
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #842 +/- ##
==========================================
+ Coverage 87.01% 87.05% +0.03%
==========================================
Files 389 398 +9
Lines 181772 184157 +2385
==========================================
+ Hits 158164 160310 +2146
- Misses 17698 17863 +165
- Partials 5910 5984 +74 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔧 Changes
Adds new endpoints and their backing types to the
managementAPI.Agentsclient withList(cursor-paginated),Create,Read,Delete, andUpdatefor managing agents.Organizations.Clientsclient withList(checkpoint-paginated),Create,Delete,Get, andUpdatefor managing organization-client associations. Organization responses now exposeis_app_entitlement_activeandclient.Organizations.Roles.Groupsclient withListto retrieve groups assigned to a role within an organization.Keys.NetworkACLsclient withCreatefor keys used to verify HTTP Message Signatures on Network ACL rules.AddSynchronizedGroupSelectionsandDeleteSynchronizedGroupSelections.type(RoleTypeEnum) andowner_id.Fixes
EventStreams.Deliveries.Listnow decodes thedeliverieslist andnextcursor from the response object and returns a*core.Page[...]. Previously it decoded the response directly into a slice, which did not match the endpoint's actual payload, so thenextcursor was never surfaced and pagination did not work.📚 References
None
🔬 Testing
Covered by new and updated unit tests across
management(newagents_test,organizations_clients_test,organizations_roles_groups_test,keys_network_acls_test, plus updates totypes_test.go,requests_test.go, and the directory provisioning, organizations, roles, and event-stream delivery tests) and the updatedwiremockmappings.go build ./...andgo vet ./management/...both pass.📝 Checklist