(host: &str, error: &str)
| 2195 | } |
| 2196 | |
| 2197 | fn l7_graphql_error_input(host: &str, error: &str) -> serde_json::Value { |
| 2198 | serde_json::json!({ |
| 2199 | "network": { "host": host, "port": 443 }, |
| 2200 | "exec": { |
| 2201 | "path": "/usr/bin/curl", |
| 2202 | "ancestors": [], |
| 2203 | "cmdline_paths": [] |
| 2204 | }, |
| 2205 | "request": { |
| 2206 | "method": "POST", |
| 2207 | "path": "/graphql", |
| 2208 | "query_params": {}, |
| 2209 | "graphql": { |
| 2210 | "operations": [], |
| 2211 | "error": error |
| 2212 | } |
| 2213 | } |
| 2214 | }) |
| 2215 | } |
| 2216 | |
| 2217 | fn l7_websocket_graphql_input(host: &str, operations: serde_json::Value) -> serde_json::Value { |
| 2218 | serde_json::json!({ |
no outgoing calls