MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / l7_get_allowed_by_rules

Function l7_get_allowed_by_rules

crates/openshell-supervisor-network/src/opa.rs:2261–2265  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2259
2260 #[test]
2261 fn l7_get_allowed_by_rules() {
2262 let engine = l7_engine();
2263 let input = l7_input("api.example.com", 8080, "GET", "/repos/myorg/foo");
2264 assert!(eval_l7(&engine, &input));
2265 }
2266
2267 #[test]
2268 fn l7_post_allowed_by_rules() {

Callers

nothing calls this directly

Calls 2

l7_engineFunction · 0.85
l7_inputFunction · 0.85

Tested by

no test coverage detected