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

Function exfil_path

crates/openshell-prover/src/report.rs:276–286  ·  view source on GitHub ↗
(category_name: &str, method: &str, host: &str, port: u16)

Source from the content-addressed store, hash-verified

274 use crate::finding::ExfilPath;
275
276 fn exfil_path(category_name: &str, method: &str, host: &str, port: u16) -> ExfilPath {
277 ExfilPath {
278 binary: "/usr/bin/curl".to_owned(),
279 endpoint_host: host.to_owned(),
280 endpoint_port: port,
281 mechanism: String::new(),
282 policy_name: "rule".to_owned(),
283 category: category_name.to_owned(),
284 method: method.to_owned(),
285 }
286 }
287
288 fn finding_with(category_name: &str, paths: Vec<ExfilPath>) -> Finding {
289 Finding {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected