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

Function finding_with

crates/openshell-prover/src/report.rs:288–298  ·  view source on GitHub ↗
(category_name: &str, paths: Vec<ExfilPath>)

Source from the content-addressed store, hash-verified

286 }
287
288 fn finding_with(category_name: &str, paths: Vec<ExfilPath>) -> Finding {
289 Finding {
290 query: category_name.to_owned(),
291 title: "test".to_owned(),
292 description: String::new(),
293 paths: paths.into_iter().map(FindingPath::Exfil).collect(),
294 remediation: vec![],
295 accepted: false,
296 accepted_reason: String::new(),
297 }
298 }
299
300 #[test]
301 fn shorthand_renders_capability_expansion_with_method() {

Calls

no outgoing calls