pub enum Recommendation {
TsafeRemediation {
command: String,
explanation: String,
},
CellosRemediation {
reason: String,
spec_hint: String,
},
PinAction {
current: String,
pinned: String,
},
ReducePermissions {
current: String,
minimum: String,
},
FederateIdentity {
static_secret: String,
oidc_provider: String,
},
Manual {
action: String,
},
}Expand description
Routing: scope findings -> TsafeRemediation; isolation findings -> CellosRemediation.
Variants§
TsafeRemediation
Remediate via tsafe — narrow / rotate / revoke a credential or scope.
CellosRemediation
Remediate via CellOS isolation primitives.
PinAction
Pin a floating action reference to an immutable SHA.
ReducePermissions
Reduce the permissions block on the scope-bearing step.
FederateIdentity
Replace a long-lived static credential with a federated OIDC identity.
Manual
Free-form manual remediation — used when no canned action applies.
Trait Implementations§
Source§impl Clone for Recommendation
impl Clone for Recommendation
Source§fn clone(&self) -> Recommendation
fn clone(&self) -> Recommendation
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 Recommendation
impl Debug for Recommendation
Source§impl<'de> Deserialize<'de> for Recommendation
impl<'de> Deserialize<'de> for Recommendation
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 Recommendation
impl RefUnwindSafe for Recommendation
impl Send for Recommendation
impl Sync for Recommendation
impl Unpin for Recommendation
impl UnsafeUnpin for Recommendation
impl UnwindSafe for Recommendation
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