pub struct SecurityPolicyRuleMatcher {
pub config: Option<SecurityPolicyRuleMatcherConfig>,
pub expr: Option<Expr>,
pub expr_options: Option<SecurityPolicyRuleMatcherExprOptions>,
pub versioned_expr: Option<String>,
}
Expand description
Represents a match condition that incoming traffic is evaluated against. Exactly one field must be specified.
This type is not used in any activity, and only used as part of another schema.
Fields§
§config: Option<SecurityPolicyRuleMatcherConfig>
The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified.
expr: Option<Expr>
User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header. Expressions containing evaluateThreatIntelligence
require Cloud Armor Managed Protection Plus tier and are not supported in Edge Policies nor in Regional Policies. Expressions containing evaluatePreconfiguredExpr('sourceiplist-*')
require Cloud Armor Managed Protection Plus tier and are only supported in Global Security Policies.
expr_options: Option<SecurityPolicyRuleMatcherExprOptions>
The configuration options available when specifying a user defined CEVAL expression (i.e., ‘expr’).
versioned_expr: Option<String>
Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config.
Trait Implementations§
Source§impl Clone for SecurityPolicyRuleMatcher
impl Clone for SecurityPolicyRuleMatcher
Source§fn clone(&self) -> SecurityPolicyRuleMatcher
fn clone(&self) -> SecurityPolicyRuleMatcher
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for SecurityPolicyRuleMatcher
impl Debug for SecurityPolicyRuleMatcher
Source§impl Default for SecurityPolicyRuleMatcher
impl Default for SecurityPolicyRuleMatcher
Source§fn default() -> SecurityPolicyRuleMatcher
fn default() -> SecurityPolicyRuleMatcher
Source§impl<'de> Deserialize<'de> for SecurityPolicyRuleMatcher
impl<'de> Deserialize<'de> for SecurityPolicyRuleMatcher
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>,
impl Part for SecurityPolicyRuleMatcher
Auto Trait Implementations§
impl Freeze for SecurityPolicyRuleMatcher
impl RefUnwindSafe for SecurityPolicyRuleMatcher
impl Send for SecurityPolicyRuleMatcher
impl Sync for SecurityPolicyRuleMatcher
impl Unpin for SecurityPolicyRuleMatcher
impl UnwindSafe for SecurityPolicyRuleMatcher
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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>
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>
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 more