Skip to main content

AuditApi

Trait AuditApi 

Source
pub trait AuditApi: Send + Sync {
    // Required methods
    fn get_items<'a, 'life0, 'async_trait>(
        &'life0 self,
        org_id: Uuid,
        start: Option<String>,
        end: Option<String>,
    ) -> Pin<Box<dyn Future<Output = Result<AccessAuditItemResponseModelListResponseModel, Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'a: 'async_trait,
             'life0: 'async_trait;
    fn get_trail<'a, 'life0, 'async_trait>(
        &'life0 self,
        org_id: Uuid,
        start: Option<String>,
        end: Option<String>,
        kind: Option<Vec<String>>,
        actor_id: Option<Vec<Uuid>>,
        include_automated_actor: Option<bool>,
        requester_id: Option<Vec<Uuid>>,
        cipher_id: Option<Vec<Uuid>>,
        rule_id: Option<Vec<Uuid>>,
        continuation_token: Option<&'a str>,
    ) -> Pin<Box<dyn Future<Output = Result<AccessAuditEventResponseModelListResponseModel, Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'a: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn get_items<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, start: Option<String>, end: Option<String>, ) -> Pin<Box<dyn Future<Output = Result<AccessAuditItemResponseModelListResponseModel, Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

GET /organizations/{orgId}/audit/items

Source

fn get_trail<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, start: Option<String>, end: Option<String>, kind: Option<Vec<String>>, actor_id: Option<Vec<Uuid>>, include_automated_actor: Option<bool>, requester_id: Option<Vec<Uuid>>, cipher_id: Option<Vec<Uuid>>, rule_id: Option<Vec<Uuid>>, continuation_token: Option<&'a str>, ) -> Pin<Box<dyn Future<Output = Result<AccessAuditEventResponseModelListResponseModel, Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

GET /organizations/{orgId}/audit

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§