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

Method finding_label

crates/openshell-ocsf/src/enums/activity.rs:88–95  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

86 /// Returns a human-readable label for Detection Finding activity context.
87 #[must_use]
88 pub fn finding_label(self) -> &'static str {
89 match self {
90 Self::Open => "Create",
91 Self::Close => "Update",
92 Self::Reset => "Close",
93 _ => self.network_label(),
94 }
95 }
96
97 /// Returns a human-readable label for Application Lifecycle activity context.
98 #[must_use]

Callers 1

buildMethod · 0.80

Calls 1

network_labelMethod · 0.80

Tested by

no test coverage detected