#[non_exhaustive]pub enum NativeWebReviewActionKind {
Show 17 variants
CorsPolicyPair,
RedirectReflectionQueryPair,
ReflectionContextQueryPair,
SqlStructuralQueryPair,
SqlStructuralQueryReplayPair,
SstiStructuralQueryPair,
SstiStructuralQueryReplayPair,
TemplateJinjaUppercaseQueryPair,
TemplateJinjaUppercaseQueryReplayPair,
XssStructuralQueryPair,
XssAttributeBoundaryQueryPair,
XssScriptLexicalBoundaryQueryPair,
NormalizationResilienceQueryPair,
ResourceAuthorizationDifferential,
OpenApiDocumentReplay,
RestReadOnlyReplay,
SsrfOastQueryReview,
}Expand description
Stable semantic actions available to an explicitly composed web-review host.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
CorsPolicyPair
Compare a request without Origin to one carrying a case-specific origin.
RedirectReflectionQueryPair
Compare a query-free request to one carrying a single case-specific query value.
ReflectionContextQueryPair
Classify one inert scanner-owned marker in a bounded HTML parse tree.
SqlStructuralQueryPair
First matched quote-balance structural comparison.
SqlStructuralQueryReplayPair
Exact replay of the first SQL structural comparison.
SstiStructuralQueryPair
First matched safe arithmetic template-expression comparison.
SstiStructuralQueryReplayPair
Independent arithmetic replay of the SSTI structural comparison.
TemplateJinjaUppercaseQueryPair
First harmless Jinja-compatible uppercase-filter semantic comparison.
TemplateJinjaUppercaseQueryReplayPair
Independent uppercase-filter replay with a distinct scanner-owned literal.
XssStructuralQueryPair
One context-selected non-executing structural XSS comparison.
XssAttributeBoundaryQueryPair
One source-anchored quote-aware inert attribute-boundary comparison.
XssScriptLexicalBoundaryQueryPair
One source-anchored non-executing JavaScript lexical-boundary comparison.
NormalizationResilienceQueryPair
One transformed inert candidate followed by one distinct transformed replay.
ResourceAuthorizationDifferential
Compare one exact JSON resource across two principal contexts and replays.
OpenApiDocumentReplay
Fetch one exact-origin OpenAPI JSON candidate and independently replay it.
RestReadOnlyReplay
Observe one replay-stable, anonymous, bodyless REST GET selected from OpenAPI evidence.
SsrfOastQueryReview
Verify one query-only outbound interaction with distinct candidate and replay callbacks.
Implementations§
Source§impl NativeWebReviewActionKind
impl NativeWebReviewActionKind
Sourcepub const fn all() -> [Self; 17]
pub const fn all() -> [Self; 17]
Returns every native web-review action in stable declaration order.
Sourcepub const fn executor_id(self) -> &'static str
pub const fn executor_id(self) -> &'static str
Returns the stable opaque executor-route identity.
The catalog does not register or implement the route.
Sourcepub const fn slug(self) -> &'static str
pub const fn slug(self) -> &'static str
Returns the compact stable name used in derived audit identities.
Sourcepub const fn differential_input(self) -> NativeWebReviewDifferentialInput
pub const fn differential_input(self) -> NativeWebReviewDifferentialInput
Returns the single request surface this action may vary.
Sourcepub const fn request_legs(self) -> &'static [NativeWebReviewRequestLeg; 2]
pub const fn request_legs(self) -> &'static [NativeWebReviewRequestLeg; 2]
Returns the fixed passive/active decision phases for one case.
A phase may own more than one broker-accounted wire leg when its closed action contract declares that exact relationship.
Sourcepub const fn maximum_requests_per_case(self) -> usize
pub const fn maximum_requests_per_case(self) -> usize
Returns the maximum requests this action may issue for one case.
Sourcepub const fn maximum_active_requests_per_case(self) -> usize
pub const fn maximum_active_requests_per_case(self) -> usize
Returns the maximum active requests this action may issue for one case.
Sourcepub fn risk(self) -> RiskScore
pub fn risk(self) -> RiskScore
Returns the low operational risk used by future planner composition.
This score models request-side operational risk, not finding severity.
Sourcepub const fn verification_target(self) -> VerificationTarget
pub const fn verification_target(self) -> VerificationTarget
Returns the immutable claim policy for this action.
No catalog entry can target either its motivation hypothesis or a distinct hypothesis. A later planner profile must copy this value rather than infer claim authority from a successful execution.
Trait Implementations§
Source§impl Clone for NativeWebReviewActionKind
impl Clone for NativeWebReviewActionKind
Source§fn clone(&self) -> NativeWebReviewActionKind
fn clone(&self) -> NativeWebReviewActionKind
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for NativeWebReviewActionKind
Source§impl Debug for NativeWebReviewActionKind
impl Debug for NativeWebReviewActionKind
Source§impl<'de> Deserialize<'de> for NativeWebReviewActionKind
impl<'de> Deserialize<'de> for NativeWebReviewActionKind
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 Eq for NativeWebReviewActionKind
Source§impl Hash for NativeWebReviewActionKind
impl Hash for NativeWebReviewActionKind
Source§impl Ord for NativeWebReviewActionKind
impl Ord for NativeWebReviewActionKind
Source§fn cmp(&self, other: &NativeWebReviewActionKind) -> Ordering
fn cmp(&self, other: &NativeWebReviewActionKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialOrd for NativeWebReviewActionKind
impl PartialOrd for NativeWebReviewActionKind
impl StructuralPartialEq for NativeWebReviewActionKind
Auto Trait Implementations§
impl Freeze for NativeWebReviewActionKind
impl RefUnwindSafe for NativeWebReviewActionKind
impl Send for NativeWebReviewActionKind
impl Sync for NativeWebReviewActionKind
impl Unpin for NativeWebReviewActionKind
impl UnsafeUnpin for NativeWebReviewActionKind
impl UnwindSafe for NativeWebReviewActionKind
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.