()
| 380 | } |
| 381 | |
| 382 | fn github_api() -> ApiCapability { |
| 383 | ApiCapability { |
| 384 | api: "github".to_string(), |
| 385 | host: "api.github.com".to_string(), |
| 386 | port: 443, |
| 387 | credential_type: "github-pat".to_string(), |
| 388 | scope_capabilities: HashMap::new(), |
| 389 | action_risk: HashMap::new(), |
| 390 | } |
| 391 | } |
| 392 | |
| 393 | #[test] |
| 394 | fn host_patterns_overlap_matches_exact_case_and_trailing_dot() { |
no outgoing calls