pub struct list_security_incidents;Expand description
GET /api/v1/admin/security-incidents List security incidents with pagination and filters (SuperAdmin only)
§Query Parameters
- page: Page number (default: 1)
- per_page: Items per page (default: 20)
- severity: Filter by severity (critical, high, medium, low)
- status: Filter by status (detected, investigating, contained, reported, closed)
§Returns
200 OK- Paginated list of incidents401 Unauthorized- Missing or invalid authentication403 Forbidden- User is not SuperAdmin500 Internal Server Error- Database error
Trait Implementations§
Auto Trait Implementations§
impl Freeze for list_security_incidents
impl RefUnwindSafe for list_security_incidents
impl Send for list_security_incidents
impl Sync for list_security_incidents
impl Unpin for list_security_incidents
impl UnwindSafe for list_security_incidents
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
§impl<T> Chain<T> for T
impl<T> Chain<T> for T
§impl<T> Fake for T
impl<T> Fake for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.