SecurityPolicy
Defined in the extras module.Rust AI Agent SDK Security policy for sandbox execution
Fields
| Name | Type | Description |
|---|---|---|
allow_network | bool | Allow network access |
allow_filesystem | bool | Allow file system access |
allow_subprocess | bool | Allow subprocess execution |
allowed_domains | Vec<String> | Allowed domains for network access |
allowed_paths | Vec<String> | Allowed paths for filesystem access |
max_execution_time | u64 | Maximum execution time in seconds |
max_memory | u64 | Maximum memory in bytes |
Methods
restrictive
permissive
Source
View on GitHub
praisonai/src/parity/extras.rs at line 397
