pub struct PromotionRule {
pub guard_name: String,
pub min_severity: AdvisorySeverity,
}Expand description
Policy for promoting advisory signals to deterministic denials.
Operators configure this in chio.yaml to convert specific advisory
signals into hard denials based on guard name and severity threshold.
Fields§
§guard_name: StringGuard name pattern to match (exact match).
min_severity: AdvisorySeverityMinimum severity to promote. Signals at or above this level from the named guard become deterministic denials.
Trait Implementations§
Source§impl Clone for PromotionRule
impl Clone for PromotionRule
Source§fn clone(&self) -> PromotionRule
fn clone(&self) -> PromotionRule
Returns a duplicate of the value. Read more
1.0.0 · 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 PromotionRule
impl Debug for PromotionRule
Source§impl<'de> Deserialize<'de> for PromotionRule
impl<'de> Deserialize<'de> for PromotionRule
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PromotionRule
impl RefUnwindSafe for PromotionRule
impl Send for PromotionRule
impl Sync for PromotionRule
impl Unpin for PromotionRule
impl UnsafeUnpin for PromotionRule
impl UnwindSafe for PromotionRule
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