pub struct SsrfOastReviewPolicy { /* private fields */ }Expand description
Strict operator authorization for one target origin and one OAST provider.
Implementations§
Source§impl SsrfOastReviewPolicy
impl SsrfOastReviewPolicy
Sourcepub fn parse_toml(
assessment_target: &Url,
source: &[u8],
) -> Result<Self, SsrfOastReviewPolicyError>
pub fn parse_toml( assessment_target: &Url, source: &[u8], ) -> Result<Self, SsrfOastReviewPolicyError>
Parses strict TOML and binds it to the assessment’s exact origin.
Sourcepub const fn policy_id(&self) -> SsrfOastPolicyId
pub const fn policy_id(&self) -> SsrfOastPolicyId
Returns the stable policy identity.
Sourcepub const fn polls_per_leg(&self) -> u16
pub const fn polls_per_leg(&self) -> u16
Returns the exact bounded polls allowed for each callback leg.
Sourcepub const fn poll_interval_ms(&self) -> u64
pub const fn poll_interval_ms(&self) -> u64
Returns the configured poll interval.
Sourcepub const fn lifetime_ms(&self) -> u64
pub const fn lifetime_ms(&self) -> u64
Returns the configured provider session lifetime.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SsrfOastReviewPolicy
impl RefUnwindSafe for SsrfOastReviewPolicy
impl Send for SsrfOastReviewPolicy
impl Sync for SsrfOastReviewPolicy
impl Unpin for SsrfOastReviewPolicy
impl UnsafeUnpin for SsrfOastReviewPolicy
impl UnwindSafe for SsrfOastReviewPolicy
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
Mutably borrows from an owned value. Read more