Expand description
Sentinel SentinelSec Agent Library
A pure Rust ModSecurity-compatible WAF agent for Sentinel proxy. Provides full OWASP Core Rule Set (CRS) support without any C dependencies.
§Example
ⓘ
use sentinel_agent_sentinelsec::{SentinelSecAgent, SentinelSecConfig};
use sentinel_agent_protocol::AgentServer;
let config = SentinelSecConfig {
rules_paths: vec!["/etc/modsecurity/crs/rules/*.conf".to_string()],
..Default::default()
};
let agent = SentinelSecAgent::new(config)?;
let server = AgentServer::new("sentinelsec", "/tmp/sentinelsec.sock", Box::new(agent));
server.run().await?;Structs§
- Detection
- Detection result from SentinelSec
- Sentinel
SecAgent - SentinelSec agent
- Sentinel
SecConfig - SentinelSec configuration
- Sentinel
SecConfig Json - JSON-serializable configuration for SentinelSec agent
- Sentinel
SecEngine - SentinelSec engine wrapper