Repository navigation
Commit e26f89f
committed
refactor(policy): extract shared L7 endpoint validation
Move 9 L7 endpoint semantic checks into a shared
validate_l7_endpoint_semantics() function in openshell-policy.
Both profile lint (openshell-providers) and the runtime validator
(openshell-supervisor-network) now call the shared function via a
lightweight L7EndpointFields field bag, eliminating duplication and
preventing the two implementations from drifting apart.
Update server test fixtures that used protocol without rules or
access, which the shared validator now correctly rejects.
Fixes NVIDIA#1714
Signed-off-by: Grace Smith <[email protected]>1 parent 9a4f8a8 commit e26f89f
8 files changed
Lines changed: 771 additions & 136 deletions
File tree
- crates
- openshell-policy/src
- openshell-providers
- src
- openshell-server/src/grpc
- openshell-supervisor-network/src/l7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments