Expand description
camel-component-exec — fail-closed system command execution component.
Re-exports§
pub use audit::ExecAuditEvent;pub use bundle::ExecBundle;pub use config::ArgPolicy;pub use config::EnvPolicy;pub use config::ExecGlobalConfig;pub use config::ExecProfile;pub use config::OutputMode;pub use config::Sandbox;pub use endpoint::ExecEndpoint;pub use error::ExecError;pub use producer::ExecProducer;pub use producer::ExecResult;
Modules§
- audit
- audit.rs — one structured audit event per execution (security-relevant).
- bundle
- ExecBundle — ComponentBundle for
exec:. Owns[components.exec]. - config
- Configuration types for the exec component. Lives under
[components.exec]/[[components.exec.profiles]]in Camel.toml. - endpoint
- ExecEndpoint — producer-only endpoint for system command execution.
- error
- ExecError — typed errors for the exec component.
- headers
- Header constants for the exec component.
- policy
- policy.rs — pure security core for the exec component.
- process
- process.rs — OS layer: spawn, capped IO drain, process-tree kill.
- producer
- producer.rs — ExecProducer: Service
running the enforcement flow.
Structs§
- Exec
Component - Factory for
exec:{profile-name}endpoints.