Skip to main content

AuditEventKind

Enum AuditEventKind 

Source
#[non_exhaustive]
pub enum AuditEventKind { TokenIssued { token: CapabilityToken, }, TokenRevoked { token_id: String, }, TaskDispatched { pack_id: String, task_id: String, route: ExecutionRoute, required_capabilities: Vec<Capability>, }, ConnectorInvoked { pack_id: String, connector_name: String, operation: String, required_capabilities: Vec<Capability>, }, PlaneInvoked { pack_id: String, plane: ExecutionPlane, tier: PlaneTier, primary_adapter: String, delegated_core_adapter: Option<String>, operation: String, required_capabilities: Vec<Capability>, }, SecurityScanEvaluated { pack_id: String, scanned_plugins: usize, total_findings: usize, high_findings: usize, medium_findings: usize, low_findings: usize, blocked: bool, block_reason: Option<String>, categories: Vec<String>, finding_ids: Vec<String>, }, PluginTrustEvaluated { pack_id: String, scanned_plugins: usize, official_plugins: usize, verified_community_plugins: usize, unverified_plugins: usize, high_risk_plugins: usize, high_risk_unverified_plugins: usize, blocked_auto_apply_plugins: usize, review_required_plugin_ids: Vec<String>, review_required_bridges: Vec<String>, }, ToolSearchEvaluated { pack_id: String, query: String, returned: usize, trust_filter_applied: bool, query_requested_tiers: Vec<String>, structured_requested_tiers: Vec<String>, effective_tiers: Vec<String>, conflicting_requested_tiers: bool, filtered_out_candidates: usize, filtered_out_tier_counts: BTreeMap<String, usize>, top_provider_ids: Vec<String>, }, ProviderFailover { pack_id: String, provider_id: String, reason: String, stage: String, model: String, attempt: usize, max_attempts: usize, status_code: Option<u16>, try_next_model: bool, auto_model_mode: bool, candidate_index: usize, candidate_count: usize, }, AuthorizationDenied { pack_id: String, token_id: String, reason: String, }, }

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

TokenIssued

Fields

§

TokenRevoked

Fields

§token_id: String
§

TaskDispatched

Fields

§pack_id: String
§task_id: String
§required_capabilities: Vec<Capability>
§

ConnectorInvoked

Fields

§pack_id: String
§connector_name: String
§operation: String
§required_capabilities: Vec<Capability>
§

PlaneInvoked

Fields

§pack_id: String
§primary_adapter: String
§delegated_core_adapter: Option<String>
§operation: String
§required_capabilities: Vec<Capability>
§

SecurityScanEvaluated

Fields

§pack_id: String
§scanned_plugins: usize
§total_findings: usize
§high_findings: usize
§medium_findings: usize
§low_findings: usize
§blocked: bool
§block_reason: Option<String>
§categories: Vec<String>
§finding_ids: Vec<String>
§

PluginTrustEvaluated

Fields

§pack_id: String
§scanned_plugins: usize
§official_plugins: usize
§verified_community_plugins: usize
§unverified_plugins: usize
§high_risk_plugins: usize
§high_risk_unverified_plugins: usize
§blocked_auto_apply_plugins: usize
§review_required_plugin_ids: Vec<String>
§review_required_bridges: Vec<String>
§

ToolSearchEvaluated

Fields

§pack_id: String
§query: String
§returned: usize
§trust_filter_applied: bool
§query_requested_tiers: Vec<String>
§structured_requested_tiers: Vec<String>
§effective_tiers: Vec<String>
§conflicting_requested_tiers: bool
§filtered_out_candidates: usize
§filtered_out_tier_counts: BTreeMap<String, usize>
§top_provider_ids: Vec<String>
§

ProviderFailover

Fields

§pack_id: String
§provider_id: String
§reason: String
§stage: String
§model: String
§attempt: usize
§max_attempts: usize
§status_code: Option<u16>
§try_next_model: bool
§auto_model_mode: bool
§candidate_index: usize
§candidate_count: usize
§

AuthorizationDenied

Fields

§pack_id: String
§token_id: String
§reason: String

Trait Implementations§

Source§

impl Clone for AuditEventKind

Source§

fn clone(&self) -> AuditEventKind

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for AuditEventKind

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for AuditEventKind

Source§

fn deserialize<__D>( __deserializer: __D, ) -> Result<AuditEventKind, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for AuditEventKind

Source§

fn eq(&self, other: &AuditEventKind) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for AuditEventKind

Source§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Eq for AuditEventKind

Source§

impl StructuralPartialEq for AuditEventKind

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,