pub struct FleetSecurityPolicy {
pub default_trust_level: FleetTrustLevel,
pub allowed_secrets: Vec<FleetSecretRef>,
pub capability_grants: Vec<FleetCapabilityGrant>,
pub max_trust_level: FleetTrustLevel,
pub require_identity_verification: bool,
pub allow_parallel_reads: bool,
}Expand description
Security policy applied to a fleet run.
A policy defines the default trust level for workers, which secrets may be resolved, and what capabilities are granted. When a run has no explicit policy, workers inherit conservative defaults.
Fields§
§default_trust_level: FleetTrustLevelDefault trust level for workers that don’t declare one explicitly.
allowed_secrets: Vec<FleetSecretRef>Secret refs that workers may resolve. An empty list means no secrets are available. Each entry is a key name, not a value.
capability_grants: Vec<FleetCapabilityGrant>Capability grants for workers in this run.
max_trust_level: FleetTrustLevelMaximum trust level any worker in this run may have, even if the worker spec requests higher. Defaults to Operator (no ceiling).
require_identity_verification: boolRequire identity verification for remote workers. When true, SSH workers must pass host-key verification before being trusted at RemoteVerified level; unverified remotes stay at Sandbox.
allow_parallel_reads: boolAllow conservative parallel execution of read-only tools (#2983). When true, workers may batch independent read-only tool calls (reads, searches, greps) into concurrent turns. Disabled by default to avoid overwhelming providers or hitting rate limits.
Trait Implementations§
Source§impl Clone for FleetSecurityPolicy
impl Clone for FleetSecurityPolicy
Source§fn clone(&self) -> FleetSecurityPolicy
fn clone(&self) -> FleetSecurityPolicy
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for FleetSecurityPolicy
impl Debug for FleetSecurityPolicy
Source§impl Default for FleetSecurityPolicy
impl Default for FleetSecurityPolicy
Source§impl<'de> Deserialize<'de> for FleetSecurityPolicy
impl<'de> Deserialize<'de> for FleetSecurityPolicy
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 FleetSecurityPolicy
Source§impl PartialEq for FleetSecurityPolicy
impl PartialEq for FleetSecurityPolicy
Source§fn eq(&self, other: &FleetSecurityPolicy) -> bool
fn eq(&self, other: &FleetSecurityPolicy) -> bool
self and other values to be equal, and is used by ==.