pub struct SecurityConfig {Show 15 fields
pub allowed_root: String,
pub allowed_commands: Vec<String>,
pub read_file: ReadFileConfig,
pub write_file: WriteFileConfig,
pub shell: ShellConfig,
pub mcp: McpConfig,
pub plugin: PluginConfig,
pub audit: AuditConfig,
pub url_access: UrlAccessConfig,
pub otp: OtpConfig,
pub estop: EstopConfig,
pub outbound_leak_guard: OutboundLeakGuardConfig,
pub perplexity_filter: PerplexityFilterConfig,
pub syscall_anomaly: SyscallAnomalyConfig,
pub tool_boundaries: HashMap<String, String>,
}Fields§
§allowed_root: String§allowed_commands: Vec<String>§read_file: ReadFileConfig§write_file: WriteFileConfig§shell: ShellConfig§mcp: McpConfig§plugin: PluginConfig§audit: AuditConfig§url_access: UrlAccessConfig§otp: OtpConfig§estop: EstopConfig§outbound_leak_guard: OutboundLeakGuardConfig§perplexity_filter: PerplexityFilterConfig§syscall_anomaly: SyscallAnomalyConfig§tool_boundaries: HashMap<String, String>Per-tool privacy boundaries. Keys are tool names, values are boundary strings: “inherit”, “local_only”, “encrypted_only”, “any”.
Trait Implementations§
Source§impl Clone for SecurityConfig
impl Clone for SecurityConfig
Source§fn clone(&self) -> SecurityConfig
fn clone(&self) -> SecurityConfig
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 SecurityConfig
impl Debug for SecurityConfig
Source§impl Default for SecurityConfig
impl Default for SecurityConfig
Source§impl<'de> Deserialize<'de> for SecurityConfigwhere
SecurityConfig: Default,
impl<'de> Deserialize<'de> for SecurityConfigwhere
SecurityConfig: Default,
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 SecurityConfig
impl RefUnwindSafe for SecurityConfig
impl Send for SecurityConfig
impl Sync for SecurityConfig
impl Unpin for SecurityConfig
impl UnsafeUnpin for SecurityConfig
impl UnwindSafe for SecurityConfig
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