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

Function l7_post_allowed_by_rules

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

Source from the content-addressed store, hash-verified

2266
2267 #[test]
2268 fn l7_post_allowed_by_rules() {
2269 let engine = l7_engine();
2270 let input = l7_input("api.example.com", 8080, "POST", "/repos/myorg/issues");
2271 assert!(eval_l7(&engine, &input));
2272 }
2273
2274 #[test]
2275 fn l7_delete_denied_by_rules() {

Callers

nothing calls this directly

Calls 2

l7_engineFunction · 0.85
l7_inputFunction · 0.85

Tested by

no test coverage detected