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

Method new

crates/openshell-ocsf/src/builders/ssh.rs:31–47  ·  view source on GitHub ↗
(ctx: &'a SandboxContext)

Source from the content-addressed store, hash-verified

29impl<'a> SshActivityBuilder<'a> {
30 #[must_use]
31 pub fn new(ctx: &'a SandboxContext) -> Self {
32 Self {
33 ctx,
34 activity: ActivityId::Unknown,
35 action: None,
36 disposition: None,
37 severity: SeverityId::Informational,
38 status: None,
39 src_endpoint: None,
40 dst_endpoint: None,
41 actor: None,
42 auth_type_id: None,
43 auth_type_label: None,
44 protocol_ver: None,
45 message: None,
46 }
47 }
48
49 /// Set auth type with a custom label (e.g., "NSSH1").
50 #[must_use]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected