pub enum PermissionApprovalEvaluationReasonCode {
Show 27 variants
UnknownValue,
NotReached,
Inactive,
AuthorizationHistoryIncomplete,
ManagedApprovalRequired,
SandboxBypass,
ActionTooLong,
PathNotAuthorized,
InvalidWorkingDirectory,
Unreadable,
NotRegularFile,
TooLarge,
NonUtf8,
InterpreterUnavailable,
InterpreterTooLarge,
ShellEnvironmentUnreviewable,
UnrepresentablePath,
InterpreterWrappedScript,
UnreviewableScriptInvocation,
ArgumentBindingUnreviewable,
MalformedScriptActionReview,
MalformedScriptActionManifest,
Unavailable,
JudgeVerdict,
JudgeError,
Inherited,
Unknown,
}Expand description
Machine-readable runtime gate reason, never a command, path or human rationale.
Variants§
UnknownValue
Attribution is missing or outside the supported vocabulary.
NotReached
The request resolved before assisted-approval evaluation.
Inactive
Assisted approval was inactive for this request.
AuthorizationHistoryIncomplete
The judge was skipped because authorization extraction could not safely establish a complete recent history.
ManagedApprovalRequired
Managed policy required a human decision.
SandboxBypass
The request asked to bypass sandbox restrictions.
ActionTooLong
An action field exceeded the judge input limit.
PathNotAuthorized
The script path was not authorized for inspection.
InvalidWorkingDirectory
The script working directory was invalid.
Unreadable
The script snapshot could not be read.
NotRegularFile
The script path was not a regular file.
TooLarge
The script snapshot exceeded the size limit.
NonUtf8
The script snapshot was not UTF-8.
The script interpreter could not be inspected.
InterpreterTooLarge
The interpreter snapshot exceeded the size limit.
ShellEnvironmentUnreviewable
The shell environment could not be reviewed.
UnrepresentablePath
A script path could not be represented for review.
InterpreterWrappedScript
An interpreter wrapped a script that could not be reviewed.
UnreviewableScriptInvocation
The script invocation could not be reviewed.
ArgumentBindingUnreviewable
The script argument binding could not be reviewed.
MalformedScriptActionReview
The script review metadata was malformed.
MalformedScriptActionManifest
The script snapshot manifest was malformed.
Script review was unavailable.
JudgeVerdict
The judge interface returned a usable verdict.
JudgeError
The judge interface returned an error.
Inherited
The request inherited an outcome from another decision.
Unknown
Unknown variant for forward compatibility.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PermissionApprovalEvaluationReasonCode
impl<'de> Deserialize<'de> for PermissionApprovalEvaluationReasonCode
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 PermissionApprovalEvaluationReasonCode
impl StructuralPartialEq for PermissionApprovalEvaluationReasonCode
Auto Trait Implementations§
impl Freeze for PermissionApprovalEvaluationReasonCode
impl RefUnwindSafe for PermissionApprovalEvaluationReasonCode
impl Send for PermissionApprovalEvaluationReasonCode
impl Sync for PermissionApprovalEvaluationReasonCode
impl Unpin for PermissionApprovalEvaluationReasonCode
impl UnsafeUnpin for PermissionApprovalEvaluationReasonCode
impl UnwindSafe for PermissionApprovalEvaluationReasonCode
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.