(query: &str)
| 20 | // --------------------------------------------------------------------------- |
| 21 | |
| 22 | fn category_label(query: &str) -> &str { |
| 23 | match query { |
| 24 | category::LINK_LOCAL_REACH => "link-local reach", |
| 25 | category::L7_BYPASS_CREDENTIALED => "L7-bypass binary with credential", |
| 26 | category::CREDENTIAL_REACH_EXPANSION => "credentialed reach expansion", |
| 27 | category::CAPABILITY_EXPANSION => "capability expansion on credentialed host", |
| 28 | _ => "unknown finding", |
| 29 | } |
| 30 | } |
| 31 | |
| 32 | // --------------------------------------------------------------------------- |
| 33 | // One-line shorthand (used by the gateway's `validation_result`) |
nothing calls this directly
no outgoing calls
no test coverage detected