MCPcopy Create free account
hub / github.com/ZingerLittleBee/ServerBee / AuthAttempt

Class AuthAttempt

crates/agent/src/security/ssh_parser.rs:27–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25
26#[derive(Debug, Clone, PartialEq, Eq)]
27pub struct AuthAttempt {
28 pub outcome: AuthOutcome,
29 pub username: String,
30 pub source_ip: String,
31 pub source_port: Option<u16>,
32}
33
34static RE_ACCEPTED: Lazy<Regex> = Lazy::new(|| {
35 Regex::new(r"^Accepted (publickey|password|keyboard-interactive|\S+) for (\S+) from (\S+) port (\d+)")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected