pub struct RulesetStats {
pub name: Arc<str>,
pub detection_rules: usize,
pub correlation_rules: usize,
pub when_schemas: Vec<String>,
pub tenants: Vec<TenantId>,
}Expand description
One ruleset’s loaded rule counts and schema bindings, for status and stats.
Fields§
§name: Arc<str>Ruleset name.
detection_rules: usizeLoaded detection rules.
correlation_rules: usizeLoaded correlation rules.
when_schemas: Vec<String>Schema names that admit an event to this ruleset.
tenants: Vec<TenantId>Tenant ids admitted to this ruleset. Empty means every tenant.
Trait Implementations§
Source§impl Clone for RulesetStats
impl Clone for RulesetStats
Source§impl Debug for RulesetStats
impl Debug for RulesetStats
Auto Trait Implementations§
impl Forget for RulesetStats
impl Freeze for RulesetStats
impl Move for RulesetStats
impl RefUnwindSafe for RulesetStats
impl Send for RulesetStats
impl Sync for RulesetStats
impl Unpin for RulesetStats
impl UnsafeUnpin for RulesetStats
impl UnwindSafe for RulesetStats
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