pub enum Operation {
Show 14 variants
List,
Describe,
Logs,
Diagnose,
Delete,
Scale,
Restart,
Cordon,
Drain,
Evict,
Exec,
PortForward,
GitPrOpened,
SecretViewed,
}Expand description
The operation that was performed. McpToolCall is intentionally absent: MCP is a
transport, captured in AuditEvent::source, not a distinct operation. An agent that
scales a deployment logs Operation::Scale with source: Surface::Mcp.
Variants§
List
Describe
Logs
Diagnose
Delete
Scale
Restart
Cordon
Drain
Evict
Exec
PortForward
GitPrOpened
A GitOps write path action (branch + PR), not an API-server write.
SecretViewed
An operator viewed (unmasked) a secret — the single most audit-relevant event for a tool that masks secrets by default.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Operation
impl<'de> Deserialize<'de> for Operation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Operation
impl StructuralPartialEq for Operation
Auto Trait Implementations§
impl Freeze for Operation
impl RefUnwindSafe for Operation
impl Send for Operation
impl Sync for Operation
impl Unpin for Operation
impl UnsafeUnpin for Operation
impl UnwindSafe for Operation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more