pub struct ObservedSdkIdentity {
pub present: bool,
pub version: Option<String>,
}Expand description
The SDK identity an agent claimed on the wire.
This is the observed (untrusted) channel: it is read out of the
attacker-controlled AuditEvent.labels map by the runtime ingest stage
(AAASM-3625). Nothing downstream may grant trust based on these values
alone — they exist only to be recomputed against a VerifiedSdkIdentity.
Fields§
§present: boolWhether the SDK presented an identity signal at all (the reserved
aa.sdk_version label was present). false means the agent connected
without claiming any SDK identity — a stripped / bypassed SDK.
version: Option<String>The SDK version string the agent claimed, when present.
Implementations§
Trait Implementations§
Source§impl Clone for ObservedSdkIdentity
impl Clone for ObservedSdkIdentity
Source§fn clone(&self) -> ObservedSdkIdentity
fn clone(&self) -> ObservedSdkIdentity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ObservedSdkIdentity
impl Debug for ObservedSdkIdentity
Source§impl Default for ObservedSdkIdentity
impl Default for ObservedSdkIdentity
Source§fn default() -> ObservedSdkIdentity
fn default() -> ObservedSdkIdentity
Returns the “default value” for a type. Read more
impl Eq for ObservedSdkIdentity
Source§impl PartialEq for ObservedSdkIdentity
impl PartialEq for ObservedSdkIdentity
impl StructuralPartialEq for ObservedSdkIdentity
Auto Trait Implementations§
impl Freeze for ObservedSdkIdentity
impl RefUnwindSafe for ObservedSdkIdentity
impl Send for ObservedSdkIdentity
impl Sync for ObservedSdkIdentity
impl Unpin for ObservedSdkIdentity
impl UnsafeUnpin for ObservedSdkIdentity
impl UnwindSafe for ObservedSdkIdentity
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