Skip to content

Conversation

Mossaka
Copy link
Collaborator

@Mossaka Mossaka commented Jul 25, 2025

This commit enforces network policies by filtering outgoing HTTP requests based on list of allowed hosts defined in the policy file associated with the component.

This commit adds an integration test for the network policy enforcement.

Note that this commit implements a simplified version of the network policy enforcement. The policy is only enforced for exact host matches, no wildcard matching is supported.

The policy also does not enforce IP address matching.

This commit enforces network policies by filtering outgoing HTTP requests based on list of
allowed hosts defined in the policy file associated with the component.

This commit adds an integration test for the network policy enforcement.

Note that this commit implements a simplified version of the network policy enforcement.
The policy is only enforced for exact host matches, no wildcard matching is supported.

The policy also does not enforce IP address matching.

Signed-off-by: Jiaxiao Zhou <[email protected]>
@Mossaka Mossaka linked an issue Jul 25, 2025 that may be closed by this pull request
@Mossaka Mossaka changed the base branch from main to grant-policy July 25, 2025 22:17
@Mossaka Mossaka marked this pull request as ready for review July 25, 2025 22:17
@Mossaka Mossaka merged commit e92e09d into grant-policy Jul 25, 2025
4 of 5 checks passed
@Mossaka Mossaka deleted the network-perm branch August 2, 2025 05:45
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.

Implements the network capability

2 participants