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

Function l7_get_wrong_path_denied

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

Source from the content-addressed store, hash-verified

2280
2281 #[test]
2282 fn l7_get_wrong_path_denied() {
2283 let engine = l7_engine();
2284 let input = l7_input("api.example.com", 8080, "GET", "/admin/settings");
2285 assert!(!eval_l7(&engine, &input));
2286 }
2287
2288 #[test]
2289 fn l7_readonly_preset_allows_get() {

Callers

nothing calls this directly

Calls 2

l7_engineFunction · 0.85
l7_inputFunction · 0.85

Tested by

no test coverage detected