Repository navigation
feat: network policies - #159
Merged
Merged
Conversation
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Contributor
Author
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
sgbalogh
marked this pull request as ready for review
November 18, 2026 23:21
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
[Medium impact] The PR appears safe to merge based on the code available for review. SummaryAdds account-level network policies and lets callers bind access tokens to them.
No actionable issues found. Tests were not run. The specification submodule was empty, and access to the related TypeScript and Go repositories was denied, so cross-SDK contract checks remain incomplete. Reviews (1) · Last reviewed commit: "test: do not compare created_at across c..." · Reviewed by Greptile |
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.
Summary
Adds network policies, which restrict where an access token may be used from.
S2.list_network_policies,list_all_network_policies,create_network_policy,get_network_policy,delete_network_policy.network_policyonissue_access_token()(slug or full<slug>.<nonce>reference) and onAccessTokenInfo(full reference).Operationgains the four network policy operations for token scoping.NetworkPolicy.public_netisPublicNetCidrs | Unknown | Noneandprivate_netisAwsPrivateNetPolicy | Unknown | None; a kind this SDK version does not know parses asUnknown(kind).The e2e test carries the
access_tokensmarker so the s2-lite run, which does not implement network policies, skips it. It does not comparecreated_atbetween the create and get responses, which the service returns with slightly different values.Link to Devin session: https://app.devin.ai/sessions/6bae76d9f8bd40a3ab56877ebab2af97
Open in Devin Desktop: https://app.devin.ai/desktop/session/6bae76d9f8bd40a3ab56877ebab2af97?variant=devin
Requested by: @sgbalogh
🟢 Devin Review found nothing to fix · View findings